Skip to content

Commit

Permalink
Merge pull request #120 from infosiftr/git-diff--exit-code
Browse files Browse the repository at this point in the history
Switch to `git diff --exit-code`
  • Loading branch information
yosifkit authored Jan 21, 2025
2 parents 680f908 + 0e95907 commit 0b8aa18
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 0b8aa18

Please sign in to comment.