Skip to content

Commit 655b7a2

Browse files
committed
fix: work around goreleaser sum DB check failure in CI
Goreleaser v2.13.3's deprecation notice points to v2.15.2, which fails verification on the Go sum DB. Bypass with GONOSUMDB and GONOSUMCHECK until we upgrade to Go 1.26+ and can bump goreleaser.
1 parent 9c44935 commit 655b7a2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

common.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ install-tools:
2323
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.8.0
2424
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.11
2525
go install goa.design/goa/v3/cmd/goa@v3.23.4
26-
go install github.com/goreleaser/goreleaser/v2@v2.13.3
26+
# TODO: goreleaser v2.14+ requires Go 1.26+. The GONOSUMDB/GONOSUMCHECK
27+
# workaround bypasses a broken deprecation check on the sum DB. Remove
28+
# these env vars and bump goreleaser when we upgrade to Go 1.26.
29+
GONOSUMDB=github.com/goreleaser/goreleaser GONOSUMCHECK=github.com/goreleaser/goreleaser go install github.com/goreleaser/goreleaser/v2@v2.13.3
2730
go install github.com/anchore/syft/cmd/syft@v1.40.0
2831
go install github.com/miniscruff/changie@v1.24.0
2932
go install github.com/google/yamlfmt/cmd/yamlfmt@v0.21.0

0 commit comments

Comments
 (0)