Closed
Description
terraform-plugin-testing version
1.5.1
Use cases
Following the Go support policy and given the ecosystem availability of the latest Go minor version, it's time to upgrade. This will ensure that this project can use recent improvements to the Go runtime, standard library functionality, and continue to receive security updates.
Proposal
- Run the following commands to upgrade the Go module files and automatically fix outdated Go code:
go mod edit -go=1.20
go mod tidy
go fix ./...
cd tools
go mod edit -go=1.20
go mod tidy
- Ensure any GitHub Actions workflows (
.github/workflows/*.yml
) use 1.21 in place of any 1.20 and 1.20 in place of any 1.19 or earlier - Ensure the README or any Contributing documentation notes the Go 1.20 expected minimum