Skip to content

Fix CI lint: upgrade to golangci-lint v2 - #56

Merged
hashkrish merged 1 commit into
mainfrom
fix/ci-golangci-lint-v2
Oct 19, 2026
Merged

hashkrish merged 1 commit into
mainfrom
fix/ci-golangci-lint-v2

Conversation

@hashkrish

Copy link
Copy Markdown
Owner

golangci-lint-action@v6 with version: latest installed golangci-lint
v1.64.8, built with go1.24, which refuses to lint a go 1.25.5 module
and cannot read the v2 config. Pin golangci-lint-action@v9 to
golangci-lint v2.14.0, restore version: "2" in .golangci.yml (reverting
656e268's go: '1.24' workaround), and fix the two issues the working
linter reports (unchecked Close in cloudbuild, unnecessary conversion
in artifactregistry).

golangci-lint-action@v6 with version: latest installed golangci-lint
v1.64.8, built with go1.24, which refuses to lint a go 1.25.5 module
and cannot read the v2 config. Pin golangci-lint-action@v9 to
golangci-lint v2.14.0, restore version: "2" in .golangci.yml (reverting
656e268's go: '1.24' workaround), and fix the two issues the working
linter reports (unchecked Close in cloudbuild, unnecessary conversion
in artifactregistry).
@hashkrish
hashkrish merged commit 907a4b9 into main Oct 19, 2026
2 checks passed
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.

1 participant