Repository navigation
chore: split tools into separate modules - #1960
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
GoReleaser remains excluded from automatic dependency updates, and a failed version lookup can silently fall back to an unpinned release version.
2 open issues
What changed in this PR
This PR moves GoReleaser version tracking into the tools module so Renovate can manage release-tool updates.
Changes:
- Adds GoReleaser v2.20.2 as a tool dependency and updates the tools module’s dependency graph and Go requirement.
- Changes the release workflow to read the GoReleaser version from the tools module instead of a hard-coded value.
| File | Description |
|---|---|
tools/go.mod |
Registers GoReleaser and updates tool dependencies and the Go requirement. |
.github/workflows/release.yml |
Retrieves the module’s GoReleaser version for the release action. |
Review effort: Balanced
alexandear
force-pushed
the
tools-add-goreleaser
branch
2 times, most recently
from
November 12, 2026 18:54
4473594 to
8759636
Compare
- lint: run make tidy tidy-tools to check root and tools go.mod files - build, lint: cache Go modules keyed on root and tools go.sum files - lint: quote $GITHUB_OUTPUT to satisfy actionlint
Renovate updates modules referenced by Go tool directives even when they are marked as indirect, so the pinversion.go workaround is no longer needed. Remove the rule disabling indirect deps since Renovate disables them by default and the rule blocked tool updates. Match the gomod 'require' depType instead of the nonexistent 'direct' so grouping and schedule apply.
- give build, goreleaser-build and go-mod jobs distinct cache keys - run goreleaser-action in CI instead of compiling goreleaser from source - read tool versions with `go mod edit -json` instead of `go list -m` - trigger Markdown lint on goimports and shfmt module changes - document pinned goimports and shfmt installs
alexandear
force-pushed
the
tools-add-goreleaser
branch
from
November 12, 2026 18:58
8759636 to
973ddcd
Compare
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.

Adds goreleaser as a Go tool dependency, so Renovate can update it, and moves every Go tool into its own module.
A single
tools/go.moddoesn't work well once goreleaser is in it: it brings ~300 indirect dependencies and through MVS it bumps shared dependencies of golangci-lint. Separate modules keep each tool's dependency set independent.Fixes #1961