Skip to content
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

feat: update golang to 1.21 #854

Merged
merged 1 commit into from Jan 24, 2024
Merged

feat: update golang to 1.21 #854

merged 1 commit into from Jan 24, 2024

Conversation

ksimon1
Copy link
Member

@ksimon1 ksimon1 commented Jan 24, 2024

What this PR does / why we need it:
feat: update golang to 1.21

Release note:

update golang to 1.21

@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Jan 24, 2024
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could make it use the golang version set in go.mod, so we don't have to touch this file in the future.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@0xFelix 0xFelix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

Thanks!

@kubevirt-bot kubevirt-bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jan 24, 2024
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version-file: 'go.mod'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This action setup-go needs to be executed after the below actions/checkout, because at this stage the code has not yet been checked out, so go.mod file does not exist.

Signed-off-by: Karel Simon <ksimon@redhat.com>
Copy link

sonarcloud bot commented Jan 24, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@akrejcir
Copy link
Collaborator

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 24, 2024
Copy link

openshift-ci bot commented Jan 24, 2024

@ksimon1: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-single-node-functests eaad840 link true /test e2e-single-node-functests
ci/prow/e2e-functests eaad840 link true /test e2e-functests
ci/prow/e2e-upgrade-functests eaad840 link true /test e2e-upgrade-functests

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@ksimon1
Copy link
Member Author

ksimon1 commented Jan 24, 2024

/approve
Merging without e2e tests, because CI is using old go version from main branch

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 0xFelix, ksimon1

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ksimon1
Copy link
Member Author

ksimon1 commented Jan 24, 2024

/override e2e-single-node-functests
/override e2e-functests
/override e2e-upgrade-functests

@kubevirt-bot
Copy link
Contributor

@ksimon1: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • e2e-functests
  • e2e-single-node-functests
  • e2e-upgrade-functests

Only the following failed contexts/checkruns were expected:

  • ci/prow/e2e-functests
  • ci/prow/e2e-single-node-functests
  • ci/prow/e2e-upgrade-functests
  • ci/prow/images
  • ci/prow/unittests
  • code/snyk (Red Hat OpenShift Virtualization)
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override e2e-single-node-functests
/override e2e-functests
/override e2e-upgrade-functests

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.

@ksimon1
Copy link
Member Author

ksimon1 commented Jan 24, 2024

/override ci/prow/e2e-functests
/override ci/prow/e2e-single-node-functests
/override ci/prow/e2e-upgrade-functests

@kubevirt-bot
Copy link
Contributor

@ksimon1: Overrode contexts on behalf of ksimon1: ci/prow/e2e-functests, ci/prow/e2e-single-node-functests, ci/prow/e2e-upgrade-functests

In response to this:

/override ci/prow/e2e-functests
/override ci/prow/e2e-single-node-functests
/override ci/prow/e2e-upgrade-functests

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.

@kubevirt-bot kubevirt-bot merged commit 85be890 into kubevirt:main Jan 24, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants