Skip to content

Commit be3fc06

Browse files
authored
all: Bump minimum Go module version to 1.22 (#229)
* all: Bump minimum Go module version to 1.22 * add changelog
1 parent ab5bb62 commit be3fc06

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kind: NOTES
2+
body: 'all: This Go module has been updated to Go 1.22 per the [Go support policy](https://go.dev/doc/devel/release#policy).
3+
It is recommended to review the [Go 1.22 release notes](https://go.dev/doc/go1.22)
4+
before upgrading. Any consumers building on earlier Go versions may experience errors.'
5+
time: 2024-09-06T16:21:41.853159-04:00
6+
custom:
7+
Issue: "229"

.github/workflows/ci-go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
strategy:
3030
matrix:
31-
go-version: [ '1.22', '1.21' ]
31+
go-version: [ '1.23', '1.22' ]
3232
steps:
3333
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3434
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This Go module is typically kept up to date with the latest `terraform-plugin-fr
1818

1919
This Go module follows `terraform-plugin-framework` Go compatibility.
2020

21-
Currently that means Go **1.21** must be used when developing and testing code.
21+
Currently that means Go **1.22** must be used when developing and testing code.
2222

2323
## Contributing
2424

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/hashicorp/terraform-plugin-framework-validators
22

3-
go 1.21
3+
go 1.22.0
44

5-
toolchain go1.21.6
5+
toolchain go1.22.7
66

77
require (
88
github.com/google/go-cmp v0.6.0

tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module tools
22

3-
go 1.21
3+
go 1.22.7
44

55
require github.com/hashicorp/copywrite v0.19.0
66

0 commit comments

Comments
 (0)