Skip to content

Let Renovate update the golangci-lint version - #89

Merged
ecv merged 1 commit into
mainfrom
chore/renovate-go-toolchain-pins
Nov 25, 2026
Merged

ecv merged 1 commit into
mainfrom
chore/renovate-go-toolchain-pins

Conversation

@ecv

@ecv ecv commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Renovate could not see the golangci-lint version the Makefile installs, so the local linter only moved when someone bumped it by hand. The Makefile variable now carries the annotation the shared Go toolchain Renovate group reads. The unused .go-version file is gone: nothing reads it, it already lagged the go.mod toolchain (1.27.3 against 1.27.4), and every workflow takes Go from go.mod.

Test plan

  • The annotation matches the shared regex manager, capturing golangci/golangci-lint at v2.15.0
  • Nothing in the repo references .go-version
  • make lint installs golangci-lint v2.15.0 and passes locally
  • Lint and test workflows pass here

Related to milo-os/renovate-config#3

Renovate could not see the golangci-lint version the Makefile pins, so the
local linter drifted from the rest of the fleet unless someone bumped it by
hand.

Key changes:
- Annotate GOLANGCI_LINT_VERSION for the shared Renovate regex manager
- Delete .go-version: nothing reads it, it already lagged the go.mod
  toolchain (1.27.3 vs 1.27.4), and workflows take Go from go.mod
@ecv
ecv marked this pull request as ready for review November 25, 2026 19:53
@ecv
ecv requested a review from a team as a code owner November 25, 2026 19:53
@ecv
ecv enabled auto-merge November 25, 2026 19:53
@ecv
ecv requested a review from privateip November 25, 2026 19:54

@kevwilliams kevwilliams 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.

No workflow reads .go-version any more, and the golangci-lint annotation sits directly above its pin.

@ecv
ecv merged commit a794b13 into main Nov 25, 2026
10 checks passed
@ecv
ecv deleted the chore/renovate-go-toolchain-pins branch November 25, 2026 20:11
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.

2 participants