lab-infra/.forgejo/workflows/lint.yaml

12 lines
285 B
YAML
Raw Normal View History

2024-10-12 00:20:58 +02:00
name: lint
on: [push, pull_request]
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 --hook-stage pre-push --show-diff-on-failure' -A shells.pre-commit ./.