-
Notifications
You must be signed in to change notification settings - Fork 47
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
chore: Update golang in CI to 1.20 #777
Conversation
Updated ci-builder container and GitHub actions to use golang 1.20. This commit needs to be merged before we can move other parts of code to 1.20. Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
/lgtm |
Those 2 will be updated in the other PR. This PR only updates for CI and GitHub Actions. |
Overriding CI, because the changed /override ci/prow/e2e-functests ci/prow/e2e-single-node-functests ci/prow/e2e-upgrade-functests |
@akrejcir: Overrode contexts on behalf of akrejcir: ci/prow/e2e-functests, ci/prow/e2e-single-node-functests, ci/prow/e2e-upgrade-functests In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akrejcir The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.19' | ||
go-version: '1.20' |
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.
The action also supports getting the golang version from the go.mod
file. That might be an alternative?
See https://github.com/actions/setup-go#getting-go-version-from-the-gomod-file
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.
Thanks for the information.
What this PR does / why we need it:
Updated
ci-builder
container and GitHub actions to use golang1.20
.Special notes for your reviewer:
This PR is a prerequisite for: #745
Because the CI uses the
ci-builder
container from the currentHEAD
, not from the PR: https://docs.ci.openshift.org/docs/architecture/ci-operator/#build-root-imageRelease note: