Skip to content

ci: inline govulncheck and bump Go to 1.26#78

Merged
bigbes merged 1 commit intomasterfrom
ci/inline-govulncheck
May 6, 2026
Merged

ci: inline govulncheck and bump Go to 1.26#78
bigbes merged 1 commit intomasterfrom
ci/inline-govulncheck

Conversation

@bigbes
Copy link
Copy Markdown
Collaborator

@bigbes bigbes commented May 6, 2026

The vulncheck workflow was broken: golang/govulncheck-action@v1 bundles actions/checkout@v4.1.1, which collides with the outer actions/checkout@v6 — both inject an Authorization extraheader, so module fetches fail with remote: Duplicate header: "Authorization" (HTTP 400).

Replace the action with a direct go install golang.org/x/vuln/cmd/govulncheck@latest followed by govulncheck ./.... Two lines, no third-party dependency, no auth collision.

Bump GO_VERSION to 1.26 because v1.3.0 govulncheck requires Go 1.26+.

The vulncheck workflow was broken: golang/govulncheck-action@v1 bundles
actions/checkout@v4.1.1, which collides with the outer actions/checkout@v6
— both inject an Authorization extraheader, so module fetches fail with
`remote: Duplicate header: "Authorization"` (HTTP 400).

Replace the action with a direct `go install golang.org/x/vuln/cmd/govulncheck@latest`
followed by `govulncheck ./...`. Two lines, no third-party dependency, no
auth collision.

Bump GO_VERSION to 1.26 because v1.3.0 govulncheck requires Go 1.26+.
@bigbes bigbes merged commit 1703c53 into master May 6, 2026
16 of 18 checks passed
@bigbes bigbes deleted the ci/inline-govulncheck branch May 6, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants