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
v2.9.x: Change CI and nightlies to use Go 1.20 #4487
Conversation
Signed-off-by: Waldemar Quevedo <wally@nats.io>
In +Go 1.20, the x509.HostnameError changed to be wrapped in a tls.CertificateVerificationError so sometimes the name would not be reset. This would make the `TestGatewayTLSMixedIPAndDNS` test flake sometimes. Signed-off-by: Waldemar Quevedo <wally@nats.io>
.travis.yml
Outdated
@@ -6,7 +6,9 @@ vm: | |||
|
|||
language: go | |||
go: | |||
- "1.20.x" | |||
- "1.19.12" |
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.
Do we want to double our builds here?
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.
Updated to remove v1.19 from the build
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.
I would replace with Go 1.20, since 1.19 deprecated would not run 2 builds.
Otherwise LGTM.
Signed-off-by: Waldemar Quevedo <wally@nats.io>
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
Includes fix for test
TestGatewayTLSMixedIPAndDNS
that was breaking in Go 1.20.