Skip to content

ci: pin all tool versions in Taskfiles to specific releases instead of latest #277

Description

Summary

Taskfiles currently use latest for Go tool versions and GitHub Actions workflows should also ensure all tools are pinned to specific versions. Using latest is a supply chain risk — a compromised upstream release would silently flow into CI and developer environments.

Scope

Taskfile Go tools (.taskfiles/golang.Taskfile.yml)

All entries in GO_VERSION map currently set to latest:

  • dlv, gopls, deadcode, golangciLint, gotestsum, govulncheck, goimports, gofumpt, goTestCoverage, gocoverCobertura, goreleaser

Other Taskfiles

Audit all .taskfiles/*.yml for any other tools installed with unpinned versions.

Recommendation

  1. Pin each tool to its current latest stable version
  2. Use Dependabot or Renovate to manage version bumps going forward
  3. Document the pinning convention so new tools are added with explicit versions

Why this matters

  • Supply chain security: Prevents silent injection of compromised releases
  • Reproducibility: Ensures consistent builds across CI and local dev
  • Auditability: Version changes are tracked in git history via explicit PRs

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions