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

build: support golang 1.23 #14748

Merged
merged 1 commit into from
Sep 23, 2024
Merged

build: support golang 1.23 #14748

merged 1 commit into from
Sep 23, 2024

Conversation

obnoxxx
Copy link
Contributor

@obnoxxx obnoxxx commented Sep 20, 2024

Description

Currently, only golang version 1.22 is supported for building rook.

This change adds support for golang version 1.23

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

Copy link
Member

@travisn travisn left a comment

Choose a reason for hiding this comment

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

Thanks for adding this, we are past due to add the support since it was released last month. Could you also add the new version to the go-version matrix in the build CI workflow as seen here for previous versions when there are multiple golang versions supported? Thanks!

@obnoxxx
Copy link
Contributor Author

obnoxxx commented Sep 22, 2024

@travisn wrote:

Thanks for adding this, we are past due to add the support since it was released last month. Could you also add the new version to the go-version matrix in the build CI workflow as seen here for previous versions when there are multiple golang versions supported? Thanks!

done.

@obnoxxx obnoxxx requested a review from travisn September 23, 2024 14:45
@@ -71,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.22"]
go-version: ["1.22", "1.23]
Copy link
Member

@parth-gr parth-gr Sep 23, 2024

Choose a reason for hiding this comment

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

should we change the other CI??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was not sure. We could do it as follow-up.

@@ -71,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.22"]
go-version: ["1.22", "1.23]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
go-version: ["1.22", "1.23]
go-version: ["1.22", "1.23"]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, thanks!

Signed-off-by: Michael Adam <obnox@samba.org>
Copy link
Member

@travisn travisn left a comment

Choose a reason for hiding this comment

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

The build with go 1.22 and 1.23 are passing now

@obnoxxx obnoxxx requested a review from BlaineEXE September 23, 2024 16:17
@BlaineEXE BlaineEXE merged commit 3136266 into rook:master Sep 23, 2024
54 of 55 checks passed
@obnoxxx obnoxxx deleted the support-go-1-23 branch September 25, 2024 16:15
travisn added a commit that referenced this pull request Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants