From b59ed1303956e21659b1fa8c071bb137cc8936e7 Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Sat, 13 Jan 2024 16:09:05 +0100 Subject: [PATCH] Replace diff check command with "git diff --exit-code" --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 05a1835..31bf62f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 ./...