diff --git a/.forgejo/workflows/lint.yaml b/.forgejo/workflows/lint.yaml new file mode 100644 index 0000000..548da1c --- /dev/null +++ b/.forgejo/workflows/lint.yaml @@ -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 ./.