Repository navigation
ci: bump golangci-lint to v2.14.0 for go1.27.2+ - #1453
Merged
mitch292 merged 1 commit intoOct 22, 2026
Merged
Conversation
setup-go resolves go-version "1.27" to the latest patch, now go1.27.2.
golangci-lint v2.13.2 can't read go1.27.2 export data ("export data
version 5 is greater than maximum supported version 4"), so lint fails
with typecheck errors on any change. v2.14.0 lints cleanly on both
go1.27.1 and go1.27.2.
Signed-off-by: Alex Ng <ang@cloudflare.com>
mitch292
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The lint job now fails on every PR, including ones whose changes are unrelated to the failing packages (example run):
setup-gowithgo-version: "1.27"resolves to the latest patch release. That was go1.27.1 for master's last green run on Oct 6. It became go1.27.2 on Oct 8 and is now go1.27.3. golangci-lint v2.13.2 can't read the export data from go1.27.2 or later, even when built from source with that toolchain. v2.14.0 can.I reproduced it locally on unmodified master (
GOOS=linux):golangci-lint config verifypasses on v2.14.0 with the existing.golangci.yml.This keeps
go-version: "1.27"floating rather than pinning a patch release, so CI keeps picking up Go security fixes (go1.27.2: crypto/tls, net/http; go1.27.3: crypto/x509).