Skip to content

Commit

Permalink
Updating to Go 1.19 (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendbennett committed Mar 3, 2023
1 parent 5051dc6 commit d32691b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/NOTES-20230303-102348.yaml
Original file line number Diff line number Diff line change
@@ -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-03T10:23:48.813882Z
custom:
Issue: "137"
2 changes: 1 addition & 1 deletion .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform-plugin-log is a helper module for logging from Terraform providers. It

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.

Currently, that means Go **1.18** or later must be used when including this project as a dependency.
Currently, that means Go **1.19** or later must be used when including this project as a dependency.

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/terraform-plugin-log

go 1.18
go 1.19

require (
github.com/google/go-cmp v0.5.9
Expand Down

0 comments on commit d32691b

Please sign in to comment.