diff --git a/.changelog/95.txt b/.changelog/95.txt new file mode 100644 index 0000000..9e5b7a6 --- /dev/null +++ b/.changelog/95.txt @@ -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. +``` diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index 865340e..1d92c20 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -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 diff --git a/README.md b/README.md index 979f524..c99e423 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/go.mod b/go.mod index 1277793..560c264 100644 --- a/go.mod +++ b/go.mod @@ -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