Skip to content

Commit 847c480

Browse files
committed
show any diff introduced by pre-commit during CI
1 parent e9a918e commit 847c480

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
- name: Install pre-commit
2626
run: pip install pre-commit
2727
- name: Run pre-commit
28-
run: pre-commit run --all-files
28+
run: pre-commit run --all-files --show-diff-on-failure

build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ runs:
6161
- name: Pre-commit hooks
6262
shell: bash
6363
run: |
64-
pre-commit run --all-files
64+
pre-commit run --all-files --show-diff-on-failure
6565
- name: Install pytest
6666
shell: bash
6767
run: pip install pytest

0 commit comments

Comments
 (0)