forked from DGNum/infrastructure
17 lines
620 B
YAML
Generated
17 lines
620 B
YAML
Generated
###
|
|
# This file was automatically generated with nix-actions.
|
|
jobs:
|
|
pre-commit:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Check stage pre-commit
|
|
run: "nix-shell -A pre-commit --run 'set -o pipefail\nset -o nounset\nset -o
|
|
errexit\npre-commit run --all-files --hook-stage pre-commit --show-diff-on-failure'"
|
|
- name: Check stage pre-push
|
|
run: "nix-shell -A pre-commit --run 'set -o pipefail\nset -o nounset\nset -o
|
|
errexit\npre-commit run --all-files --hook-stage pre-push --show-diff-on-failure'"
|
|
name: Run pre-commit on all files
|
|
on:
|
|
- push
|
|
- pull_request
|