Make setup-go get Go version from go.mod by tksm · Pull Request #253 · stern/stern · GitHub
Skip to content

Make setup-go get Go version from go.mod #253

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

Merged
merged 1 commit into from
Mar 31, 2023
Merged

Conversation

tksm
Copy link
Contributor

@tksm tksm commented Mar 31, 2023

This PR makes setup-go get the Go version from go.mod. It will eliminate the possibility of forgetting to update the Go version in the workflow files.

go-version: 1.19.x
go-version-file: go.mod
Copy link
Member

Choose a reason for hiding this comment

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

I did not know about this useful feature.

@tksm tksm merged commit 23feff7 into stern:master Mar 31, 2023
@tksm tksm deleted the go-version-file branch March 31, 2023 14:23
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