Skip to content

Commit

Permalink
Show diff when pre-commit fails (#3641)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored Apr 15, 2024
1 parent 7b10d1a commit f57e564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
pre-commit install-hooks --config .github/pre-commit-config.yaml
- name: Run the check (${{ matrix.check }})
run: pre-commit run --hook-stage manual ${{ matrix.check }} --all-files --config .github/pre-commit-config.yaml
run: pre-commit run --show-diff-on-failure --hook-stage manual ${{ matrix.check }} --all-files --config .github/pre-commit-config.yaml

lint-json:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f57e564

Please sign in to comment.