-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add presubmit check to prevent accidental go directive bump #2810
Comments
/triage accepted |
/help |
@MadhavJivrajani: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
@adityabhatia Still on your radar? :) |
In CAPV we only bump the go directive in go.mod files on the main branch.
While we bump the Go minor version that we build release branches with we never bump the go directive there.
This issue is about adding a presubmit check to ensure we don't accidentally bump it.
This can be implemented by adding a new
verify-go-directive
Makefile target (prior art: https://github.com/kubernetes/utils/pull/306/files) and then adding it to theverify
target we already run in CI.For more context, see: kubernetes/kubernetes#123744 and kubernetes-sigs/cluster-api#10258
The text was updated successfully, but these errors were encountered: