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

action.yml: support go1.16+ 'go install'-style installations #7

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

joelanford
Copy link
Owner

In go versions <1.18, it is possible to use go get <mod>@<version> to compile and install Go binaries into $GOBIN.
In go versions >=1.16, it is possible to use go install <mod>@<version> to compile and install Go binaries into $GOBIN.

This PR adds support for the go install variant which is the only supported mechanism starting in Go 1.18.

@joelanford joelanford merged commit 37c4418 into master Jan 13, 2022
@joelanford joelanford deleted the fix/go-install branch January 13, 2022 05:50
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.

None yet

1 participant