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

all: Bump minimum Go module version to 1.22 #1033

Merged
merged 4 commits into from
Sep 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
all: Bump minimum Go module version to 1.22.7
austinvalle committed Sep 6, 2024
commit 0a49649a3f2b67c9451b201e617b22756f6af682
2 changes: 1 addition & 1 deletion .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22', '1.21' ]
go-version: [ '1.23', '1.22' ]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ Providers built with this framework are compatible with Terraform version v0.12

This project follows the [support policy](https://golang.org/doc/devel/release.html#policy) of Go as its support policy. The two latest major releases of Go are supported by the project.

Currently, that means Go **1.21** or later must be used when including this project as a dependency.
Currently, that means Go **1.22.7** or later must be used when including this project as a dependency.

## Contributing

4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/hashicorp/terraform-plugin-framework

go 1.21

toolchain go1.21.6
go 1.22.7

require (
github.com/google/go-cmp v0.6.0
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module tools

go 1.21
go 1.22.7

require github.com/hashicorp/copywrite v0.19.0

2 changes: 1 addition & 1 deletion website/docs/plugin/framework/migrating/index.mdx
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ In addition to this migration guide, we recommend referring to the main [Framewo

Before you migrate your provider to the Framework, ensure it meets the following requirements:

- Go 1.21+
- Go 1.22.7+
- Built on the latest version of SDKv2
- The provider is for use with Terraform >= 0.12.0