Skip to content

fix: bump golangci-lint to 2.15.0 for Go 1.27 - #28

Merged
emersonknapp merged 1 commit into
mainfrom
emerson/golangci-lint-2.15
Nov 7, 2026
Merged

emersonknapp merged 1 commit into
mainfrom
emerson/golangci-lint-2.15

Conversation

@emersonknapp

Copy link
Copy Markdown
Member

Bump the pinned golangci-lint from 2.13.2 to 2.15.0, so polymath-go works with Go 1.27.

golangci-lint 2.13.2 is built with Go 1.26 and cannot read the export data of the Go 1.27 standard library.
With Go 1.27 on PATH, every run fails with could not import fmt ... export data version 5 is greater than maximum supported version 4.
CI installs go-version: stable, which now resolves to 1.27.3, so CI fails on every PR.
golangci-lint 2.15.0 is built with Go 1.27.0.

  • Pin 2.15.0 and its release checksums
  • Derive the fake tarball path in the install tests from the pinned version

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp
emersonknapp marked this pull request as ready for review November 7, 2026 00:40
@emersonknapp
emersonknapp merged commit 6ce0619 into main Nov 7, 2026
4 checks passed
@emersonknapp
emersonknapp deleted the emerson/golangci-lint-2.15 branch November 7, 2026 00:40
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