Repository navigation
chore(ci): bump golangci-lint to v2.14.0 for the go1.27.2 toolchain - #1208
Merged
Merged
Conversation
The pinned v2.13.1 (x/tools 0.49.0) cannot read go1.27 export data
("export data version 5 is greater than maximum supported version 4"),
so the go.lint gate failed on every PR after the toolchain bump in #1201.
v2.14.0 ships x/tools 0.50.0 and lints the tree clean (0 findings).
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.
Why
Since #1201 moved
cli/go.modtotoolchain go1.27.2, the pinned golangci-lint v2.13.1 (x/tools 0.49.0) fails typecheck on every package:export data version 5 is greater than maximum supported version 4. That turned thego.lintgate red for any PR that runs the correctness job (see #1206 CI, test 186 intests/scripts/check-go-lint.bats).What
Pin bumped from v2.13.1 to v2.14.0 (x/tools 0.50.0) in
scripts/golangci-lint-v2.shand the three workflows that install it.Checks
bash scripts/check-go-lint.shlocally underGOTOOLCHAIN=go1.27.2:golangci-lint clean (0 findings).