Skip to content
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

ci: investigate how to support wildcard Go versions like 1.18.x #1153

Open
leitzler opened this issue Apr 6, 2022 · 1 comment
Open

ci: investigate how to support wildcard Go versions like 1.18.x #1153

leitzler opened this issue Apr 6, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@leitzler
Copy link
Member

leitzler commented Apr 6, 2022

Investigate what we need to do to be able to specify Go version as, for example, 1.18.x instead of the current way where we specify exact version, e.g. 1.18.1.

How to handle creation of docker images pushed to docker hub for example.

@leitzler leitzler added the enhancement New feature or request label Apr 6, 2022
@mvdan
Copy link
Collaborator

mvdan commented Apr 7, 2022

Assuming you just need to know what Go version was selected, is it not possible to run go env GOVERSION somewhere? That will give e.g. go1.18 for tagged versions.

If you can't easily execute Go itself to obtain the version string in the YAML, then the right way would be to use an Action output from setup-go. Unfortunately it doesn't have a "selected go version" output just yet, but actions/setup-go#85 does that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants