diff --git a/.changes/unreleased/NOTES-20251007-163741.yaml b/.changes/unreleased/NOTES-20251007-163741.yaml new file mode 100644 index 0000000..e797d39 --- /dev/null +++ b/.changes/unreleased/NOTES-20251007-163741.yaml @@ -0,0 +1,5 @@ +kind: NOTES +body: 'all: This Go module has been updated to Go 1.24 per the Go support policy. It is recommended to review the Go 1.24 release notes before upgrading. Any consumers building on earlier Go versions may experience errors.' +time: 2025-10-07T16:37:41.559179+02:00 +custom: + Issue: "307" diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index b3aa4a2..2713129 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.24', '1.23' ] + go-version: [ '1.25', '1.24' ] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 diff --git a/README.md b/README.md index de3a47c..9658a1c 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.23** must be used when developing and testing code. +Currently that means Go **1.24** must be used when developing and testing code. ## Contributing diff --git a/go.mod b/go.mod index ed64845..050c661 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/hashicorp/terraform-plugin-framework-validators -go 1.23.0 - -toolchain go1.23.7 +go 1.24.0 require ( github.com/google/go-cmp v0.7.0 diff --git a/tools/go.mod b/tools/go.mod index 6c06169..1ad4d79 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module tools -go 1.23.7 +go 1.24.0 require github.com/hashicorp/copywrite v0.22.0