-
Notifications
You must be signed in to change notification settings - Fork 244
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
Go: bump tested Go version to 1.19.5 #831
Conversation
The gist of it looks good, but the tests are failing. Ping me once the test failures are resolved. Thanks! |
2e50feb
to
b962630
Compare
@phlogistonjohn apparently the new gofmt has it's own idea how comments have to look like. :-/ Also I changed the go.mod version to 1.19, because I found contradicting information. In
But in https://go.dev/ref/mod#go-mod-file-go it says:
The second behavior seems more important to us. |
Also the other jobs are failing because of the VCS stamping. I will continue on that later. |
sigh OK, it looks very mechanical (mostly just increased indents) and so I'll trust the change w/o going over it with a fine toothed comb.
Indeed! Good catch, thanks.
OK, that's fine. This is new to me as well and I'll read up a bit on it too. |
golang/go#51723 turned up in my search. So it seems that because we build implements tool it kicks in but wouldn't for our runs of go test. Sounds like we need the |
Yeah, let's finish this after tue release then. |
This bumps the Go version of the test container to 1.19.5, which is the oldest supported Go version as of now. The go.mod file (including an upgrade of its dependencies) and the revive environment is bumped to 1.19 as well. Signed-off-by: Sven Anderson <sven@redhat.com>
Signed-off-by: Sven Anderson <sven@redhat.com>
e0c2924
to
0109490
Compare
Signed-off-by: Sven Anderson <sven@redhat.com>
0109490
to
ba22b05
Compare
Ok, finally CI is succeeding. I had to use |
@phlogistonjohn PTAL, and better review the individual commits. |
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!
This bumps the Go version of the test container to 1.19.5, which is the oldest supported Go version as of now.
The go.mod file (including an upgrade of its dependencies) and the revive environment is bumped to 1.19 as well.
Signed-off-by: Sven Anderson sven@redhat.com
Closes: #825