From 6d56aa3084609340eb7fa59e79c582e4099f9ba2 Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Sun, 14 Jan 2024 15:06:04 +0100 Subject: [PATCH] Also run "go mod tidy" as part of the diff check in CI --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 31bf62f..28a5acc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,7 @@ jobs: diagnostic-endpoint: - name: No diff run: | + nix develop -c go mod tidy nix develop -c go generate ./... git diff --exit-code - name: Test