-
Notifications
You must be signed in to change notification settings - Fork 531
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
Utilize the .tool-versions file to set expected Go version #402
base: main
Are you sure you want to change the base?
Conversation
isn't it already implemented in go1.21's |
the merging is blocked by #375 (comment) |
Hello @troian
i don't think so, because we still have to use the action with the versions prior 1.21 and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fetch text 8439997576
@dsame is this still planned? It's been nearly a year since the last update. For everyone like me who found this PR while trying to get steps:
- uses: actions/checkout@v4
- id: go-version
run: echo "go-version=$(cat .tool-versions | grep golang | cut -d ' ' -f 2)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.go-version }} |
Description:
Add '.tool-versions' to 'go.mod' and 'go.work' as a source of the go version
Related issue:
link to the related issue.
Check list: