CI: Use `git status --porcelain` to verify no changes

`git diff -s --exit-code` will detect changes to tracked files, but
doesn't detect untracked files.
This commit is contained in:
Jack Grigg 2022-01-07 23:55:40 +00:00
parent 3174db5d00
commit 053edd9e33
1 changed files with 1 additions and 1 deletions

View File

@ -33,4 +33,4 @@ jobs:
run: ./regenerate.sh ${{ matrix.kind }} ${{ matrix.extension }}
- name: Verify there are no changes
run: git diff -s --exit-code
run: test -z "$(git status --porcelain)"