Skip to content

Commit

Permalink
all: Bump Go Version to 1.18 (#95)
Browse files Browse the repository at this point in the history
Reference: #94

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.
  • Loading branch information
bflad committed Aug 11, 2022
1 parent 7977575 commit 0bfcb8f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/95.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:note
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.
```
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.18', '1.17' ]
go-version: [ '1.19', '1.18' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
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.17** or later must be used when including this project as a dependency.
Currently, that means Go **1.18** 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.17
go 1.18

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

0 comments on commit 0bfcb8f

Please sign in to comment.