Skip to content

Commit efb5ea5

Browse files
authored
ci: remove latest from toolchain (#9038)
1 parent 2499236 commit efb5ea5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hack/toolchain.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ tools() {
1616
# fix - https://github.com/golangci/golangci-lint/issues/6017
1717
# change to latest once golangci releases new version with the fix
1818
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@main
19-
go install github.com/google/ko@latest
20-
go install github.com/mikefarah/yq/v4@latest
19+
go install github.com/google/ko@v0.18.1
20+
go install github.com/mikefarah/yq/v4@v4.52.5
2121
go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest
2222
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@b9bccfd419149d26d14130887a5e5819e4a3b2be
2323
go install sigs.k8s.io/controller-tools/cmd/controller-gen@latest
24-
go install github.com/sigstore/cosign/v2/cmd/cosign@latest
24+
go install github.com/sigstore/cosign/v2/cmd/cosign@v2.6.1
2525
go install -tags extended github.com/gohugoio/hugo@v0.110.0
2626
go install golang.org/x/vuln/cmd/govulncheck@latest
2727
go install github.com/onsi/ginkgo/v2/ginkgo@latest
2828
go install github.com/rhysd/actionlint/cmd/actionlint@latest
2929
go install github.com/mattn/goveralls@latest
30-
go install github.com/google/go-containerregistry/cmd/crane@latest
30+
go install github.com/google/go-containerregistry/cmd/crane@v0.21.3
3131
go install oras.land/oras/cmd/oras@v1.2.3 # Pin to this version since the latest version requires go 1.25
3232

3333
if ! echo "$PATH" | grep -q "${GOPATH:-undefined}/bin\|$HOME/go/bin"; then

0 commit comments

Comments
 (0)