feat(workflows): Add a check on code

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 ./.