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

Update to go 1.21 #17581

Conversation

modular-magician
Copy link
Collaborator

Closes #17481

To be merged in coordination with:


This PR bumps the Google providers to using Go 1.21. We tend to keep 1 version behind the latest Go version and Go 1.22 was releases on 6 Feb 2024.

This upgrade unblocks a dependency bump that requires Go 1.21 : GoogleCloudPlatform/magic-modules#10109 (comment)

Through doing this PR I will use the experience to document the steps needed when bumping the Go version.

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#10169

* Update .go-version file in TPG and TPGB repos

* Update go.mod used to generate TPG/TPGB and run `go mod tidy`

* Update go.mod in mmv1/third_party/terraform/scripts

* Update go.mod in mmv1

* Update go.mod in docs

* Update go.mod in tools/go-changelog and run `go mod tidy`

* Update go.mod in tools/missing-test-detector and run `go mod tidy`

* Update go.mod in tools/diff-processor

* Update go.mod in tools/issue-labeler

* Update go.mod in tools/teamcity-generator

* Update go.mod in tpgtools and run `go mod tidy`

* Update doctor script to ensure developers use Go 1.21 locally

* Update GHA workflows to use Go 1.21

* Add missing update to GHA

[upstream:67e2505f1821f00aeee54dac5f666a3ac913a71f]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 0f7b885 into hashicorp:main Mar 13, 2024
4 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2024
@modular-magician modular-magician deleted the downstream-pr-67e2505f1821f00aeee54dac5f666a3ac913a71f branch November 17, 2024 00:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade the providers to use Go 1.21
1 participant