-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consider automating go-versions availability (auto go-versions update when released are done by the go team) #407
Comments
Hello @ldemailly , thank you for the input we will start review the suggestion in the near future. |
The new tool management capabilities in
Do we need a discussion/consensus on if/how |
It happened again with the go 1.21.8 / 1.22.1 release: #462 |
and now again with 1.21.9 and 1.22.2 |
Yeah as a user and having many repos with CI I think what the go team did is breaking the semantic of go version in go.mod it's been since day one language version without a patch level which implied a minimal version and obviously one wants all the patch/bug fixes as available - I, like others, highlighted the issue in golang/go#66175 (comment) and other issues) ie I don't want to have to edit my go.mod each time a patch comes up - I want to say "go 1.21" in my setup and that means 1.21.9 as of today (which btw... it's 1.21.8 sadly) and ditto for 1.22 -> 1.22.2 - somehow 1.22 does end up starting with 1.22.1 and then getting 1.22.2 - see builds from fortio/workflows#15 |
meanwhile despite go-versions not having a PR, it works if you specify go1.22.2 (but it's cumbersome as mentioned before ^) output
|
And again with 1.22.3 |
|
Bump, encountered that problem as well. Is there a specific reason for needing manual approval of each Go patch version? It doesn't seem like Go has a history of patches breaking anything. |
ping - 1.22.4 is out |
In fact, actions/go-versions#100 was opened and merged ~4 hours after the above comment was added, so that was quite fast (and there's apparently some automation in place, which is good). Yet, as of now (~16 hours after actions/go-versions#100 is merged), actions/setup-go with |
1.22 + latest:true works for me but will reiterate the lag due to manual review is less than desirable |
1.22.5 pretty please |
again 1.22.8 |
Description:
Trust the go team releases and have a minimal delay between the go team shipping a new patch release (e.g 1.20.6 to 1.20.7) and that patch becoming available with setup-go check latest actions - as in making go-versions update entirely automatic with no lag from humans
Justification:
Otherwise build break (in part because of govulncheck) or have to wait to release security fixed binaries
Are you willing to submit a PR?
I would but it's probably easier for someone familiar
There are a few hints on "how"
#405 (comment)
#405 (comment)
The text was updated successfully, but these errors were encountered: