Skip to content

fix: pin go and golangci-lint versions together - #162

Merged
wagoodman merged 2 commits into
mainfrom
fix/go-version-linting-pin
Oct 12, 2026
Merged

wagoodman merged 2 commits into
mainfrom
fix/go-version-linting-pin

Conversation

@wagoodman

@wagoodman wagoodman commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Go version and golangci-lint need to move in lockstep: a new Go release (even a patch) can break an older linter, and a newer linter can surface new findings. Floating Go on stable while the linter gets bumped independently keeps causing CI breakage.

  • setup action now defaults to Go 1.27.2 exactly (was stable)
  • golangci-lint pinned to v2.14.0 via a binny constraint, so binny update won't move it
  • bootstrap action default aligned to 1.27.2

Go version and golangci-lint need to move in lockstep: a new Go release can break an older linter, and a newer linter can surface new findings. Floating Go on `stable` while the linter gets bumped independently keeps causing CI breakage.

- setup action now defaults to Go `1.27.x` (was `stable`)
- golangci-lint pinned to `v2.14.0` via a binny `constraint`, so `binny update` won't move it
- bootstrap action default aligned to `1.27.x`

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@oss-housekeeper oss-housekeeper Bot added binny dealing with management of binary tools via binny dependencies dealing with project dependencies labels Oct 12, 2026
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

@kzantow kzantow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@wagoodman
wagoodman enabled auto-merge (squash) October 12, 2026 18:31
@wagoodman
wagoodman merged commit e976261 into main Oct 12, 2026
21 checks passed
@wagoodman
wagoodman deleted the fix/go-version-linting-pin branch October 12, 2026 18:31
@wagoodman wagoodman added the bug Something isn't working label Oct 12, 2026
@wagoodman wagoodman changed the title chore: pin go and golangci-lint versions together bug: pin go and golangci-lint versions together Oct 12, 2026
@wagoodman wagoodman changed the title bug: pin go and golangci-lint versions together fix: pin go and golangci-lint versions together Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binny dealing with management of binary tools via binny bug Something isn't working dependencies dealing with project dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants