From 8202020bcf57cd6e30feb3fa290185da02fea6af Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Fri, 6 Sep 2024 16:20:55 -0400 Subject: [PATCH 1/2] all: Bump minimum Go module version to 1.22 --- .github/workflows/ci-go.yml | 2 +- README.md | 2 +- go.mod | 4 ++-- tools/go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index b19ef1a..1e4b986 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -28,7 +28,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 diff --git a/README.md b/README.md index 668dc48..79d263b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ This Go module is typically kept up to date with the latest `terraform-plugin-fr This Go module follows `terraform-plugin-framework` Go compatibility. -Currently that means Go **1.21** must be used when developing and testing code. +Currently that means Go **1.22** must be used when developing and testing code. ## Contributing diff --git a/go.mod b/go.mod index ca22a56..24c2944 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/hashicorp/terraform-plugin-framework-validators -go 1.21 +go 1.22.0 -toolchain go1.21.6 +toolchain go1.22.7 require ( github.com/google/go-cmp v0.6.0 diff --git a/tools/go.mod b/tools/go.mod index 4a4affd..9938d4c 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module tools -go 1.21 +go 1.22.7 require github.com/hashicorp/copywrite v0.19.0 From 64ca17b02b08d854f5bd4e5e395fbacabce072d4 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Fri, 6 Sep 2024 16:22:06 -0400 Subject: [PATCH 2/2] add changelog --- .changes/unreleased/NOTES-20240906-162141.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/NOTES-20240906-162141.yaml diff --git a/.changes/unreleased/NOTES-20240906-162141.yaml b/.changes/unreleased/NOTES-20240906-162141.yaml new file mode 100644 index 0000000..79d8486 --- /dev/null +++ b/.changes/unreleased/NOTES-20240906-162141.yaml @@ -0,0 +1,7 @@ +kind: NOTES +body: 'all: This Go module has been updated to Go 1.22 per the [Go support policy](https://go.dev/doc/devel/release#policy). + It is recommended to review the [Go 1.22 release notes](https://go.dev/doc/go1.22) + before upgrading. Any consumers building on earlier Go versions may experience errors.' +time: 2024-09-06T16:21:41.853159-04:00 +custom: + Issue: "229"