Repository navigation
build(tasks): run go-tools' task installed outside go.mod - #94
Merged
Merged
Conversation
go.mod pinned github.com/spin-stack/go-tools/cmd/task as a tool, so every go-tools release this repository wanted - a new Task, a shared task, a gate - was a go.mod bump and a pull request here, and in every other spin-stack repository. Task is now go-tools' cmd/task installed outside the module: each workflow job (and the setup-parity-runtime composite) uses spin-stack/go-tools before its first `task`, which puts the latest release's task on PATH, and Dependabot moves that pin with the other actions. On a laptop, `go install github.com/spin-stack/go-tools/cmd/task@latest` once. Every `go tool task` becomes `task`. go-tools stays a requirement, at v0.20261128.1, for versions/gate, whose gate counts the action as reading versions.yaml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aledbf
marked this pull request as ready for review
November 28, 2026 20:37
Member
Author
|
PASS Verified head e3438aa (independent verifier, no code changes).
🤖 Generated with Claude Code |
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.
Every go-tools release this repository wanted was a go.mod bump and a pull request here (and in each spin-stack repository), because go.mod pinned
github.com/spin-stack/go-tools/cmd/taskas a tool. go-tools v20261128.01 (spin-stack/go-tools#173) shipstaskoutside any go.mod.What changed
go.mod:github.com/spin-stack/go-tools/cmd/taskleaves the tool block (mockgen and deadcode stay); go-tools stays a requirement forversions/gate, moved to v0.20261128.1, the first whose gate counts the action as reading versions.yaml.go-cli.yml,release.yml,refresh.yml) and thesetup-parity-runtimecomposite:uses: spin-stack/go-tools@116dfa6… # v20261128.01after setup-go in every job that runstask; Dependabot's github-actions ecosystem moves the pin.parity-publish-fullgets it through the composite;parity-runtimehas it directly (its plan step runs before the composite; a second run installs nothing).go tool task->taskeverywhere it is an invocation: workflows,.goreleaser.yml's hook, the ts-oracle messages in Go and TypeScript, versions.yaml's header. The allowlists' headers and a test comment name go-tools commands by bare name.go install github.com/spin-stack/go-tools/cmd/task@latestonce.Verified
task lint(go vet, golangci-lint, lint:workflows with actionlint, ctxlife, testquality, refs, mutate -stale-exempts, deadcode, taskgate, sfw check): passes.runs task refresh with nothing before it that installs go-tools' task), and passes with it back.task test:race: passes.task mutate BASE=origin/main: 14 refused, 0 survived (run withBUILDX_BUILDER=default: the local docker-container buildx builder cannot see the images the e2e tests build, unrelated to this change).🤖 Generated with Claude Code