Skip to content

Commit

Permalink
ci: show pre-commit diff on failure
Browse files Browse the repository at this point in the history
Sometimes the change done by pre-commit are not obvious, this should
help.
  • Loading branch information
VannTen committed Jan 17, 2025
1 parent a6b8d7e commit 09c9998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pre-commit:
variables:
PRE_COMMIT_HOME: /pre-commit-cache
script:
- pre-commit run --all-files
- pre-commit run --all-files --show-diff-on-failure
cache:
key: pre-commit-all
paths:
Expand Down

0 comments on commit 09c9998

Please sign in to comment.