Skip to content

Commit

Permalink
Fix CI git diff command with --exit-code
Browse files Browse the repository at this point in the history
So it actually returns a failing exit status if there were changes.
  • Loading branch information
EliahKagan committed Sep 11, 2024
1 parent a5e4f0d commit 117cf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Doctest
run: cargo test --doc
- name: Check that tracked archives are up to date
run: git diff # If this fails, the fix is usually to commit a regenerated archive.
run: git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive.

test-32bit:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 117cf55

Please sign in to comment.