Skip to content
Snippets Groups Projects
Commit 64c7594d authored by nimrod's avatar nimrod
Browse files

Add pre-commit.

parent 22c388da
No related branches found
No related tags found
No related merge requests found
Pipeline #428 passed
---
include:
- project: shore/ci-templates
file: templates/pre-commit.yml
build:
stage: build
image: buildpack-deps:bullseye
before_script:
- apt-get update
- apt-get install -y meson golang systemd podman go-md2man bash-completion shellcheck cmake
- >-
apt-get install -y
bash-completion
cmake
golang
go-md2man
meson
podman
shellcheck
systemd
- git clone https://github.com/containers/toolbox.git
- cd toolbox
script:
......
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: trailing-whitespace
- repo: https://github.com/Yelp/detect-secrets
rev: v0.14.3
hooks:
- id: detect-secrets
- repo: https://github.com/adrienverge/yamllint
rev: v1.25.0
hooks:
- id: yamllint
- repo: https://github.com/amperser/proselint/
rev: 0.10.2
hooks:
- id: proselint
types: [plain-text]
exclude: LICENSE
- repo: https://github.com/executablebooks/mdformat.git
rev: 0.5.3
hooks:
- id: mdformat
- repo: https://gitlab.freedesktop.org/nimrod/ci-templates.git
rev: fd4100029a3d54e5184408313ca602f691f359b6
hooks:
- id: ci-fairy
......@@ -4,8 +4,8 @@
Build [toolbox](https://github.com/containers/toolbox/).
Until there's Debian packaging for it, [build it
myself](https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox/builddir/src/toolbox?job=build).
Until there's Debian packaging for it,
[build it myself](https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox/builddir/src/toolbox?job=build).
## License
......@@ -13,7 +13,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
## Author Information
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
https://www.shore.co.il/). Patches are welcome via [`git send-email`](
http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
at: <https://git.shore.co.il/nimrod/>.
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
is located at: <https://git.shore.co.il/expore/>.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment