Task name
GoTool
Describe your feature request here
Copy of #21358 which has been closed as stale.
The GitHub Action to install Go has a very nifty feature that allows detecting the version of Go to install from a go.mod file: https://github.com/actions/setup-go#getting-go-version-from-the-gomod-file
This type of feature is already implemented in the Dotnet equivalent task (it reads the version from global.json).