actions / setup-go

Set up your GitHub Actions workflow with a specific version of Go
MIT License
1.41k stars 531 forks source link

Heads up on versioning change for go 1.21.0 that may break setup-go #406

Closed WillAbides closed 1 year ago

WillAbides commented 1 year ago

Per https://tip.golang.org/doc/go1.21#introduction, starting with 1.21, the initial release for a release family will be styled like go1.N.0 instead of go1.N. This means you will download the next version of go from https://go.dev/dl/go1.21.0.darwin-amd64.tar.gz instead of https://go.dev/dl/go1.21.darwin-amd64.tar.gz.

After spending a few minutes looking through this repo and actions/go-versions, I'm unclear if this will require a change, but I wanted to get the issue out here in case it does.

dsame commented 1 year ago

Hello @WillAbides , thank you for you warning, we are starting reviewing the issue

WillAbides commented 1 year ago

Looks like setup-go weathered the go1.21.0 release just fine.