forked from DGNum/infrastructure
feat(workflows): Add a check on code
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