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

fix: Fixed issue adding Go 1.22.x and 1.23.x and drop Go 1.19.x #3239

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

ozennou
Copy link

@ozennou ozennou commented Jan 17, 2025

Update Go versions: Add support for Go 1.22.x and 1.23.x in the build.yml workflow, while removing support for the outdated and unsupported Go 1.19.x version. This ensures compatibility with newer Go versions and keeps the build process up-to-date.
#3238

@ndyakov
Copy link
Collaborator

ndyakov commented Jan 17, 2025

Based on https://go.dev/doc/devel/release 1.20.x and 1.21.x are not supported as well. If it is decided to drop support for 1.19, does it make sense for the https://github.com/redis/go-redis/blob/master/go.mod#L3 to be updated as well? It still states 1.18, but if tests are not executed on 1.18 and 1.19, maybe stating 1.20 as min versions should be done.

@ozennou
Copy link
Author

ozennou commented Jan 17, 2025

Thank you for pointing that out! If support for 1.18 and 1.19 is being dropped, it does make sense to update the go.mod file to reflect 1.20 as the minimum version. I can include this change in the PR or handle it separately—let me know your preference!

@urdarinda
Copy link

qq, should this drop support for 1.20 and 1.21 as well?

@ozennou
Copy link
Author

ozennou commented Jan 19, 2025

qq, should this drop support for 1.20 and 1.21 as well?

True, I think I should add only the 1.22 and 1.23 without dropping 1.19

@urdarinda
Copy link

qq, should this drop support for 1.20 and 1.21 as well?

True, I think I should add only the 1.22 and 1.23 without dropping 1.19

What I meant was, we should probably drop support for 1.20 and 1.21 as well. maybe

@ozennou
Copy link
Author

ozennou commented Jan 19, 2025

Got it, thanks!

@urdarinda
Copy link

@ndyakov any plans to merge this one?

@@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.21.x]
go-version: ["1.21.x"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Are quotes required here? @ozennou

Copy link
Author

Choose a reason for hiding this comment

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

No, just a best practice

@ndyakov
Copy link
Collaborator

ndyakov commented Jan 28, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants