Skip to content

chore(ci): bump golangci-lint to v2.14.0 for the go1.27.2 toolchain - #1208

Merged
boshu2 merged 1 commit into
mainfrom
chore/golangci-lint-2-14-0
Oct 10, 2026
Merged

boshu2 merged 1 commit into
mainfrom
chore/golangci-lint-2-14-0

Conversation

@boshu2

@boshu2 boshu2 commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Why

Since #1201 moved cli/go.mod to toolchain 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 the go.lint gate red for any PR that runs the correctness job (see #1206 CI, test 186 in tests/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.sh and the three workflows that install it.

Checks

  • bash scripts/check-go-lint.sh locally under GOTOOLCHAIN=go1.27.2: golangci-lint clean (0 findings).
  • CI on this PR is the authoritative confirmation.

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).
@github-actions github-actions Bot added the ci label Oct 9, 2026
@boshu2
boshu2 merged commit 55202f5 into main Oct 10, 2026
8 checks passed
@boshu2
boshu2 deleted the chore/golangci-lint-2-14-0 branch October 10, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant