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
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:
parent
5e3819c9b2
commit
c9428d618b
1 changed files with 11 additions and 0 deletions
11
.forgejo/workflows/lint.yaml
Normal file
11
.forgejo/workflows/lint.yaml
Normal 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 ./.
|
Loading…
Reference in a new issue