mirror of
https://github.com/actions/setup-go
synced 2024-11-09 15:12:40 +00:00
add link to the .tool-versions
This commit is contained in:
parent
0fc6876467
commit
b544d3a2e3
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ file or at the go servers.
|
|||
|
||||
### If the go.mod or .tool-versions files
|
||||
|
||||
The `go-version-file` input accepts a path to a `go.mod` file, `.tool-versions` file or a `go.work` file that contains the version of Go to be used by a project.
|
||||
The `go-version-file` input accepts a path to a `go.mod` file, [.tool-versions](https://asdf-vm.com/manage/configuration.html#tool-versions) file or a `go.work` file that contains the version of Go to be used by a project.
|
||||
As the `go.mod` file contains only major and minor (e.g. 1.18) tags, the action will follow the above-mentioned approach.
|
||||
|
||||
> The action will search for the `go.mod` file relative to the repository root
|
||||
|
|
Loading…
Reference in a new issue