File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ jobs:
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
67- run : go run golang.org/x/vuln/cmd/govulncheck@v1.8 .0 ./...
67+ run : go run golang.org/x/vuln/cmd/govulncheck@v1.9 .0 ./...
6868
6969 - name : Mocks up to date
7070 run : |
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ 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 ./...
22- go run golang.org/x/vuln/cmd/govulncheck@v1.8 .0 ./...
21+ go run golang.org/x/tools/cmd/deadcode@v0.52 .0 -test ./...
22+ go run golang.org/x/vuln/cmd/govulncheck@v1.9 .0 ./...
2323go tool mockery # regenerate mocks (.mockery.yaml)
2424go test -race ./... # as in CI
2525make assets | build | all | docker # dists; ./solis with ldflags; both; dev image
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"
6060
6161# 4. Known vulnerabilities in dependencies and the standard library
6262echo " Checking for vulnerabilities..."
63- go run golang.org/x/vuln/cmd/govulncheck@v1.8 .0 ./...
63+ go run golang.org/x/vuln/cmd/govulncheck@v1.9 .0 ./...
6464print_result $? " govulncheck"
6565
6666# 5. Build
You can’t perform that action at this time.
0 commit comments