-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Switch to Go 1.24 as a min version, bump CI, modernize sources #4851
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
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as duplicate.
This comment was marked as duplicate.
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.
Needs rebase
This is not needed since commit 16d7336 which sets 1.23 to be a minimally required Go version. Signed-off-by: Kir Kolyshkin <[email protected]>
Now that Go 1.25 is out, let's switch to go 1.24.0 as a minimally supported version, drop Go 1.23 and add Go 1.25 to CI matrix. Signed-off-by: Kir Kolyshkin <[email protected]>
In these cases, omitempty doesn't really work so it is useless, but omitzero actually works. As a result, output of `runc events` may omit these fields if all they contain are zeroes. NOTE this might be a breaking change. Signed-off-by: Kir Kolyshkin <[email protected]>
Brought to you by modernize -fix -test ./... Signed-off-by: Kir Kolyshkin <[email protected]>
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.
rebased
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.
This mostly LGTM, left a question about the possible breaking change.
I didn't know of modernize, very nice :)
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
@kolyshkin there are conflicts, but after that auto-merge I guess should work :) |
See individual commits for details. High level overview:
Similar cgroups PR: opencontainers/cgroups#28