mirror of
https://github.com/actions/setup-go.git
synced 2024-11-15 11:54:34 +08:00
add link to the .tool-versions
This commit is contained in:
parent
0fc6876467
commit
b544d3a2e3
@ -185,7 +185,7 @@ file or at the go servers.
|
|||||||
|
|
||||||
### If the go.mod or .tool-versions files
|
### 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.
|
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
|
> The action will search for the `go.mod` file relative to the repository root
|
||||||
|
Loading…
Reference in New Issue
Block a user