about summary refs log tree commit diff
path: root/tools/nixery
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nixery')
-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 2c0aff49d2..d3f258ffaa 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 d632090c0d..dab10aae64 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{