Skip to content

Commit 02a0af0

Browse files
authored
all: Update Go Module to Go 1.20 (#836)
Reference: #835
1 parent a04b10b commit 02a0af0

File tree

6 files changed

+15
-5
lines changed

6 files changed

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

.github/workflows/ci-go.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
- '1.2.*'
5858
- '1.3.*'
5959
- '1.4.*'
60+
- '1.5.*'
6061
terraform-provider-corner-tfprotov6:
6162
defaults:
6263
run:
@@ -88,12 +89,13 @@ jobs:
8889
- '1.2.*'
8990
- '1.3.*'
9091
- '1.4.*'
92+
- '1.5.*'
9193
test:
9294
name: test (Go v${{ matrix.go-version }})
9395
runs-on: ubuntu-latest
9496
strategy:
9597
matrix:
96-
go-version: [ '1.20', '1.19' ]
98+
go-version: [ '1.21', '1.20' ]
9799
steps:
98100
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
99101
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Providers built with this framework are compatible with Terraform version v0.12
2828

2929
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.
3030

31-
Currently, that means Go **1.19** or later must be used when including this project as a dependency.
31+
Currently, that means Go **1.20** or later must be used when including this project as a dependency.
3232

3333
## Contributing
3434

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/hashicorp/terraform-plugin-framework
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/google/go-cmp v0.5.9

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.19
3+
go 1.20
44

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

website/docs/plugin/framework/migrating/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In addition to this migration guide, we recommend referring to the main [Framewo
1616

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

19-
- Go 1.19+
19+
- Go 1.20+
2020
- Built on the latest version of SDKv2
2121
- The provider is for use with Terraform >= 0.12.0
2222

0 commit comments

Comments
 (0)