Skip to content

Commit 387b365

Browse files
authored
all: Bump Go Version to 1.18 (#55)
Reference: #54 Updated via: ```shell go mod edit -go=1.18 go mod tidy go fix ./... ``` And textual file updates, such as GitHub Actions workflows and the README.
1 parent ba5d857 commit 387b365

File tree

5 files changed

+6
-153
lines changed

5 files changed

+6
-153
lines changed

.changelog/55.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:note
2+
This Go module has been updated to Go 1.18 per the [Go support policy](https://golang.org/doc/devel/release.html#policy). Any consumers building on earlier Go versions may experience errors.
3+
```

.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.18', '1.17' ]
31+
go-version: [ '1.19', '1.18' ]
3232
steps:
3333
- uses: actions/checkout@v3
3434
- uses: actions/setup-go@v3

README.md

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

1515
This Go module follows `terraform-plugin-framework` Go compatibility.
1616

17-
Currently that means Go **1.17** must be used when developing and testing code.
17+
Currently that means Go **1.18** must be used when developing and testing code.
1818

1919
## Contributing
2020

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-validators
22

3-
go 1.17
3+
go 1.18
44

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

0 commit comments

Comments
 (0)