Skip to content

Commit

Permalink
all: Bump minimum Go module version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
austinvalle committed Sep 6, 2024
1 parent b51e2c1 commit 6434edd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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.22', '1.21' ]
go-version: [ '1.23', '1.22' ]
terraform: ${{ fromJSON(vars.TF_VERSIONS_PROTOCOL_V5) }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ When run from the root of a Terraform Provider codebase, Terraform’s testing f

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.21** or later must be used when including this project as a dependency.
Currently, that means Go **1.22** or later must be used when including this project as a dependency.

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/hashicorp/terraform-plugin-testing

go 1.21
go 1.22.0

toolchain go1.21.6
toolchain go1.22.7

require (
github.com/google/go-cmp v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module tools

go 1.21
go 1.22.7

require github.com/hashicorp/copywrite v0.19.0

Expand Down

0 comments on commit 6434edd

Please sign in to comment.