Skip to content

Commit 4150af4

Browse files
EliahKaganByron
authored andcommitted
Fix CI git diff command with --exit-code
So it actually returns a failing exit status if there were changes.
1 parent de95f24 commit 4150af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: Doctest
9999
run: cargo test --doc
100100
- name: Check that tracked archives are up to date
101-
run: git diff # If this fails, the fix is usually to commit a regenerated archive.
101+
run: git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive.
102102

103103
test-32bit:
104104
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)