some basic documentation for .tool-versions

This commit is contained in:
plukevdh 2023-05-22 09:49:54 -04:00
parent a9bf05db07
commit f162814e28
No known key found for this signature in database
GPG Key ID: 4CDF66F8A7057826

View File

@ -218,6 +218,10 @@ The `go-version` input supports the following syntax:
For more information about semantic versioning, please refer to [semver](https://github.com/npm/node-semver)
documentation.
The action can also utilize a [`.tool-versions` file](https://asdf-vm.com/manage/configuration.html#tool-versions)
if `go-version` is not specified (`go-version` will take precedence over any `.tool-versions` specified). If the `.
tool-versions` is not in the project root, you can specify its location via the `tool-version-file` input.
## Using `setup-go` on GHES
`setup-go` comes pre-installed on the appliance with GHES if Actions is enabled. When dynamically downloading Go