about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/nixery/.github/workflows/build-and-test.yaml2
-rw-r--r--tools/nixery/popcount/popcount.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/nixery/.github/workflows/build-and-test.yaml b/tools/nixery/.github/workflows/build-and-test.yaml
index 2c0aff49d218..d3f258ffaac4 100644
--- a/tools/nixery/.github/workflows/build-and-test.yaml
+++ b/tools/nixery/.github/workflows/build-and-test.yaml
@@ -19,6 +19,8 @@ jobs:
         run: nix-env -f '<nixpkgs>' -iA go
       - name: Check formatting
         run: "test -z $(gofmt -l .)"
+      - name: Run `go vet`
+        run: "go vet ./..."
       - name: Build Nixery
         run: "nix-build --no-out-link"
       - name: Run integration test
diff --git a/tools/nixery/popcount/popcount.go b/tools/nixery/popcount/popcount.go
index d632090c0dc2..dab10aae64c0 100644
--- a/tools/nixery/popcount/popcount.go
+++ b/tools/nixery/popcount/popcount.go
@@ -90,7 +90,7 @@ func channelMetadata(channel string) meta {
 	commit, err := ioutil.ReadAll(commitResp.Body)
 	failOn(err, "failed to read commit from response")
 	if commitResp.StatusCode != 200 {
-		log.Fatalf("non-success status code when fetching commit: %s", string(commit), commitResp.StatusCode)
+		log.Fatalf("non-success status code when fetching commit: %s (%v)", string(commit), commitResp.StatusCode)
 	}
 
 	return meta{