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

Upgrade Go version to 1.21 #1587

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Upgrade Go version to 1.21 #1587

merged 1 commit into from
Dec 22, 2023

Conversation

msmania
Copy link
Contributor

@msmania msmania commented Dec 21, 2023

The coming patch #1581 uses Go Generics that is available since Go 1.18. Since .github/workflows/Dockerfile pulls a container with Go 1.17, that patch breaks CI workflow. This patch upgrades Go version in all CI workflows to the latest version 1.21.

Description

Summary generated by Reviewpad on 21 Dec 23 08:47 UTC

This pull request upgrades the Go version in all CI workflows to version 1.21. The current version 1.18 is causing issues with the coming patch that uses Go Generics available since Go 1.18. The upgrade is done in the .circleci/config.yml file for the build, test, and trigger-pocket-core-deployments-branches sections. It is also done in the .github/workflows/Dockerfile file. Additionally, the go.mod and README.md files are updated to reflect the new Go version. The patch includes a total of 13 insertions and 10 deletions across 6 files.

The coming patch #1581 uses Go Generics that is available since Go 1.18.
Since .github/workflows/Dockerfile pulls a container with Go 1.17, that
patch breaks CI workflow.  This patch upgrades Go version in all CI
workflows to the latest version 1.21.
@msmania msmania self-assigned this Dec 21, 2023
@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels Dec 21, 2023
Copy link
Member

@Olshansk Olshansk left a comment

Choose a reason for hiding this comment

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

@msmania Can you look into why CI is still failing in this PR?

Theoretically, this is the fix.

@msmania
Copy link
Contributor Author

msmania commented Dec 21, 2023

This is the fix for a failure at the step Build and push images / build-images (pull_request) that's failing on #1581.

What's failing here is ci/circleci: test. We can stabilize tests in a separate PR.

@Olshansk Olshansk added this to the Network Quality of Life milestone Dec 21, 2023
@msmania msmania merged commit 02149b9 into staging Dec 22, 2023
4 of 5 checks passed
@msmania msmania deleted the tokikuch/upgrade-go-1.21 branch December 22, 2023 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small Pull request is small waiting-for-review
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants