Skip to content

Commit

Permalink
Switch to git diff --exit-code
Browse files Browse the repository at this point in the history
It might be interesting to improve this to configure `diffoscope` as a "difftool" so we can get even more useful diffs if the binaries ever change as a result, but this is at least better than the prior state (as this will give us a diff of any text files in our failing CI).
  • Loading branch information
tianon committed Jan 21, 2025
1 parent 680f908 commit 0e95907
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
- name: Update Binaries
run: ./update.sh
- name: Verify Changes
run: |
changes="$(git status --porcelain '**/hello' '**/nanoserver*/hello.txt')"
test -z "$changes"
run: git diff --exit-code

generate-jobs:
needs: verify
Expand Down

0 comments on commit 0e95907

Please sign in to comment.