diff --git a/.changes/unreleased/NOTES-20230303-093836.yaml b/.changes/unreleased/NOTES-20230303-093836.yaml new file mode 100644 index 0000000..af0484e --- /dev/null +++ b/.changes/unreleased/NOTES-20230303-093836.yaml @@ -0,0 +1,6 @@ +kind: NOTES +body: This Go module has been updated to Go 1.19 per the [Go support policy](https://golang.org/doc/devel/release.html#policy). + Any consumers building on earlier Go versions may experience errors. +time: 2023-03-03T09:38:36.179756Z +custom: + Issue: "117" diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index 5bb93ca..3fd0a01 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.19', '1.18' ] + go-version: [ '1.20', '1.19' ] steps: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 diff --git a/README.md b/README.md index c10263a..c8ef573 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,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.18** must be used when developing and testing code. +Currently that means Go **1.19** must be used when developing and testing code. ## Contributing diff --git a/go.mod b/go.mod index 291f069..64010f9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/terraform-plugin-framework-validators -go 1.18 +go 1.19 require ( github.com/google/go-cmp v0.5.9