Skip to content

Commit

Permalink
Replace diff check command with "git diff --exit-code"
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakker committed Jan 13, 2024
1 parent 1eee125 commit b59ed13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: No diff
run: |
nix develop -c go generate ./...
git diff-index --quiet HEAD --
git diff --exit-code
- name: Test
run: |
nix develop -c go test -tags sqlite_foreign_keys -v ./...
Expand Down

0 comments on commit b59ed13

Please sign in to comment.