Commit 31dd65c
fix(ci): drop workflow-level GOFLAGS=-mod=vendor from release pipeline
The `vendor/` directory + `go.mod` >= go 1.14 already auto-select vendor
mode for build/test/lint, so the explicit `GOFLAGS=-mod=vendor` was
redundant — and worse, it broke every `go install <pkg>@<version>` call
in the pipeline:
go: golang.org/x/vuln/cmd/govulncheck@latest:
cannot query module due to -mod=vendor
This killed `govulncheck` immediately and would have killed
`license-check` (go-licenses) the same way. Vendor mode still applies
implicitly to the actual `go build` / `go test` / `go generate` calls,
so dropping the env var is a no-op for those.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent afe71a8 commit 31dd65c
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
0 commit comments