-
Notifications
You must be signed in to change notification settings - Fork 926
build: upgrade go directive in go.mod to 1.17 #2674
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
Conversation
This commit enables support for module graph pruning and lazy module loading for projects that are at Go 1.17 or higher. Reference: https://go.dev/ref/mod#go-mod-file-go Reference: https://go.dev/ref/mod#graph-pruning Reference: https://go.dev/ref/mod#lazy-loading Signed-off-by: Eng Zer Jun <[email protected]>
@akutz Hi, I have moved the |
I did a quick test with these changes and bumped the Go versions used in the various workflows to include |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks @Juneezee
@Juneezee, VMware has approved your signed contributor license agreement. |
Uses Go 1.17 for build-related steps and matrix 1.16 and 1.17 for tests (see vmware#2674) Closes: vmware#2679 Signed-off-by: Michael Gasch <[email protected]>
Uses Go 1.17 for build-related steps and matrix 1.16 and 1.17 for tests (see vmware#2674) Closes: vmware#2679 Signed-off-by: Michael Gasch <[email protected]>
Uses Go 1.17 for build-related steps and matrix 1.16 and 1.17 for tests (see vmware#2674) Closes: vmware#2679 Signed-off-by: Michael Gasch <[email protected]>
Uses Go 1.17 for build-related steps and matrix 1.16 and 1.17 for tests (see vmware#2674) Closes: vmware#2679 Signed-off-by: Michael Gasch <[email protected]>
Uses Go 1.17 for build-related steps and matrix 1.16 and 1.17 for tests (see vmware#2674) Closes: vmware#2679 Signed-off-by: Michael Gasch <[email protected]>
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
This PR upgrades the
go
directive ingo.mod
file by runninggo mod tidy -go=1.17
to enable module graph pruning and lazy module loading supported by Go 1.17 or higher.Note 1: This does not prevent users with earlier Go versions from successfully building packages from this module.
Note 2: The additional
require
directive is used to record indirect dependencies by Go 1.17 or higher, see https://go.dev/ref/mod#go-mod-file-go.Type of change
Please mark options that are relevant:
not work as expected)
How Has This Been Tested?
Manually tested by running
make test
.Checklist:
this project