From 117cf55623e8797d2ce695e5547a7bd2c9cb7401 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Tue, 10 Sep 2024 21:35:27 -0400 Subject: [PATCH] Fix CI `git diff` command with `--exit-code` So it actually returns a failing exit status if there were changes. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7c8aff94f9..6f3546f2aca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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