Skip to content

Commit 648c5a3

Browse files
authored
Merge pull request #1903 from lann/print-dirty-paths
ci: Print dirty lint paths
2 parents 4a4fdb3 + d210c5c commit 648c5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run lints
3939
run: |
4040
BUILD_SPIN_EXAMPLES=0 make lint
41-
git diff --quiet . || (echo "Git working tree dirtied by lints. Run `make lint` and check in changes" && exit 1)
41+
git diff --name-status --exit-code . || (echo "Git working tree dirtied by lints. Run `make lint` and check in changes" && exit 1)
4242
4343
- name: Cancel everything if linting fails
4444
if: failure()

0 commit comments

Comments
 (0)