* Add go-version to action outputs
This provides the semver version of Go that has been installed. This is useful
if only a major or minor version has been provided as the input go-version
value.
* Convert version extraction to a function
Simplify how the version is extracted and add a simple test at the same
time.
Co-authored-by: Peter Mescalchin <[email protected]>
Co-authored-by: Brian Cristante <[email protected]>
Co-authored-by: Peter Mescalchin <[email protected]>
Co-authored-by: Brian Cristante <[email protected]>