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 #7098

Conversation

modular-magician
Copy link
Collaborator

Closes hashicorp/terraform-provider-google#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 force-pushed the downstream-pr-67e2505f1821f00aeee54dac5f666a3ac913a71f branch from 7c2eaab to f9003b8 Compare March 13, 2024 22:09
@modular-magician modular-magician merged commit 2186cac into hashicorp:main Mar 13, 2024
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-67e2505f1821f00aeee54dac5f666a3ac913a71f branch November 16, 2024 02:21
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.

Upgrade the providers to use Go 1.21
1 participant