ci: show pre-commit diff on failure

Sometimes the change done by pre-commit are not obvious, this should
help.
This commit is contained in:
Max Gautier
2025-01-17 09:40:15 +01:00
parent b548ccbe7f
commit 5862bff044

View File

@@ -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: