File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060
6161 - name : Dead code
6262 run : |
63- DEAD=$(go run golang.org/x/tools/cmd/deadcode@v0.51 .0 -test ./...)
63+ DEAD=$(go run golang.org/x/tools/cmd/deadcode@v0.52 .0 -test ./...)
6464 if [ -n "$DEAD" ]; then echo "$DEAD"; exit 1; fi
6565
6666 - name : Vulnerabilities
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Shipped as linux/darwin binaries and a multi-arch `scratch` image on ghcr.io.
1818make check # ./scripts/pre-commit.sh, check-only (no mockery)
1919golangci-lint fmt --config .golangci.yml # gofumpt + goimports (prefix github.com/dombyte/solis)
2020golangci-lint run --config .golangci.yml
21- go run golang.org/x/tools/cmd/deadcode@v0.51 .0 -test ./...
21+ go run golang.org/x/tools/cmd/deadcode@v0.52 .0 -test ./...
2222go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
2323go tool mockery # regenerate mocks (.mockery.yaml)
2424go test -race ./... # as in CI
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ print_result $? "golangci-lint run"
5050
5151# 3. Unused exported code (golangci's unused only sees unexported identifiers)
5252echo " Checking for dead code..."
53- DEAD=$( go run golang.org/x/tools/cmd/deadcode@v0.51 .0 -test ./... 2>&1 )
53+ DEAD=$( go run golang.org/x/tools/cmd/deadcode@v0.52 .0 -test ./... 2>&1 )
5454if [ -n " $DEAD " ]; then
5555 echo " $DEAD "
5656 print_result 1 " deadcode"
You can’t perform that action at this time.
0 commit comments