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
Update to go 1.20 #4021
Update to go 1.20 #4021
Conversation
Codecov ReportPatch and project coverage have no change.
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #4021 +/- ##
=======================================
Coverage 57.76% 57.76%
=======================================
Files 108 108
Lines 10500 10500
=======================================
Hits 6065 6065
Misses 3762 3762
Partials 673 673 ☔ View full report in Codecov by Sentry. |
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
6463c49
to
5ddaf55
Compare
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.
we'll probably also have to update golangci-lint to the latest version (it usually needs to be updated to be compatible with newer Go versions)
ARG GOLANGCI_LINT_VERSION=v1.52 |
@@ -26,8 +26,8 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
go: | |||
- 1.18 | |||
- 1.19.10 | |||
- 1.20.7 |
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.
Go now also provides .0 versions, so we can use 1.21.0 here.
Wondering if we should keep 1.18 in the list as an "old" version to test against (for projects that consume the code as a library).
Although perhaps less important for the main (unreleased / unstable) branch
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.
It's out of support, they shouldn't be using it.
Although yes, it might be more important if we already had a release out.
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 1.21.0. Will leave 1.18 out for now.
@@ -1,6 +1,6 @@ | |||
# syntax=docker/dockerfile:1 | |||
|
|||
ARG GO_VERSION=1.19.10 | |||
ARG GO_VERSION=1.20.7 |
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.
Was there a specific reason not to update the Dockerfiles to 1.21.0 (now that it's released)?
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.
We are taking it slowly. 1.21.x
is very fresh from the oven
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
f15b496
to
e0f1b3e
Compare
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
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. I'm also for waiting a little bit for Go 1.21, possibly a month or 2.
We probably want to release on a supported version of go