feat: Utilize the.tool-versions
file to set expected Go version #375
Description
Description:
It would be useful to utilize the .tool-versions
file to set the expect version of Go for the action runtime in addition to being able to set via the parameters.
Justification:
Because an action may be used across a variety of steps, it can be burdensome to track the Go version via the parameter in every place used. Several other setup-<lang>
projects are also utilizing or making progress towards using the .tool-versions
file for version locking.
- Ruby currently utilizes
- Python has a PR open to add this functionality
- Node uses it
Are you willing to submit a PR?
💯 if this feels like a thing that would be useful to the community and in keeping with the goal of this project.