feat(workflows): Add a check on code
Some checks failed
build configuration / build_storage01 (push) Successful in 1m22s
build configuration / build_compute01 (push) Successful in 1m27s
build configuration / build_vault01 (push) Successful in 45s
build configuration / build_web01 (push) Successful in 1m5s
build configuration / build_web02 (push) Successful in 44s
lint / check (push) Failing after 21s

This commit is contained in:
Tom Hubrecht 2024-02-02 10:51:55 +01:00
parent 5e3819c9b2
commit c9428d618b

View file

@ -0,0 +1,11 @@
name: lint
on: push
jobs:
check:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Run pre-commit on all files
run: nix-shell --run 'pre-commit run --all-files --show-diff-on-failure' -A shells.pre-commit ./.