Closed spiffxp closed 1 year ago
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: MushuEE, spiffxp
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Related:
go install sigs.k8s.io/kubetest2/...@latest
was failing for go 1.17, somehow deciding to pull in dependencies that require go >= 1.18 despite https://github.com/kubernetes-sigs/kubetest2/pull/207go build ./...
was refusing to build for go >= 1.17, saying that go mod tidy needed to be run first (see https://go.dev/ref/mod#go-mod-file-go for why)The Makefile used as the entrypoint for all of this project's CI jobs uses the go version specified in
.go-version
so we were missing this failure mode. Added ago-version
target which gets run as part ofmake verify
to hopefully catch this in the future