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

feat(golang): pick patch version automatically #3016

Conversation

phil9909
Copy link

Currently, it is required to specify the full go version install-tool golang 1.22.5.

With this change, the patch version can be left out: install-tool golang 1.22 and the latest available patch version will be installed.

A test was added to ensure "1.20" will resolve to "1.20.14". As "1.20" is end of life, there should be no further patches and therefore the test should not break. I guess there is a small chance that the go team decides to patch "1.20", if a serious vulnerability is discovered. It's unlikely, as the EOL date is already several months ago.

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll refactor this to typescript soon, so deferring this

@viceice
Copy link
Member

viceice commented Aug 7, 2024

@phil9909 Please open a new discussion and write your full use-case. I'm closing this for now until we've a conclusion that we like to have this feature

@viceice viceice closed this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants