nix-actions/.forgejo/workflows/pre-commit.yaml

15 lines
363 B
YAML
Raw Permalink Normal View History

###
# This file was automatically generated with nix-actions.
2024-12-30 12:16:26 +01:00
jobs:
pre-push:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Run pre-commit on all files
run: nix-shell -A pre-commit --run 'pre-commit run --all-files --hook-stage
pre-push --show-diff-on-failure'
name: Run pre-commit on all files
on:
2024-12-30 12:16:26 +01:00
- pull_request
- push