2024-11-11 17:52:23 +01:00
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Run pre-commit on all files
|
2024-11-14 22:18:40 +01:00
|
|
|
run: nix-shell -A pre-commit --run 'pre-commit run --all-files --hook-stage
|
|
|
|
pre-push --show-diff-on-failure'
|
2024-11-11 17:52:23 +01:00
|
|
|
name: Run pre-commit on all files
|
|
|
|
'on':
|
|
|
|
- push
|
|
|
|
- pull_request
|