Skip to content

Commit 6a7e35b

Browse files
authored
all: Update Go Module to Go 1.20 (#322)
Reference: #321
1 parent 1eb755a commit 6a7e35b

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
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: "321"

.github/workflows/ci-go.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
- '1.2.*'
6565
- '1.3.*'
6666
- '1.4.*'
67+
- '1.5.*'
6768
terraform-provider-corner-tfprotov6:
6869
defaults:
6970
run:
@@ -101,12 +102,13 @@ jobs:
101102
- '1.2.*'
102103
- '1.3.*'
103104
- '1.4.*'
105+
- '1.5.*'
104106
test:
105107
name: test (Go v${{ matrix.go-version }})
106108
runs-on: ubuntu-latest
107109
strategy:
108110
matrix:
109-
go-version: ['1.19', '1.18']
111+
go-version: ['1.20', '1.19']
110112
steps:
111113
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
112114
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ is unsupported by the Terraform Plugin SDK team.
3333

3434
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.
3535

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

3838
## Getting Started
3939

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-go
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 (
66
github.com/hashicorp/copywrite v0.16.4

0 commit comments

Comments
 (0)