terraform-provider-archive icon indicating copy to clipboard operation
terraform-provider-archive copied to clipboard

Bump Development/Build Minimum Go Version to 1.17

Open bflad opened this issue 2 years ago • 0 comments

Terraform CLI and Provider Versions

N/A (main branch development)

Use Cases or Problem Statement

Following the Go support policy and given the ecosystem availability and stability 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 remove deprecated syntax such as //+build:
go mod edit -go=1.17
go mod tidy
go fix
  • Ensure any GitHub Actions workflows (.github/workflows/*.yml) use 1.18 in place of any 1.17 and 1.17 in place of any 1.16 or earlier
  • Ensure the README or any Contributing documentation notes the Go 1.17 expected minimum
  • (Not applicable to all projects) Ensure the .go-version is at least 1.17 or later
  • Enable the tenv linter in .golangci.yml and remediate any issues.

How much impact is this issue causing?

Medium

Additional Information

  • https://formulae.brew.sh/formula/go
  • https://github.com/microsoft/winget-pkgs/pull/54491
  • https://community.chocolatey.org/packages/golang
  • https://packages.ubuntu.com/jammy/golang-1.18

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

bflad avatar Apr 11 '22 12:04 bflad