mirror of
https://github.com/actions/setup-go.git
synced 2024-12-27 21:24:45 -05:00
Remove the description of the old go.mod specification
This commit is contained in:
parent
a4fa8f7150
commit
f4a0ed48b7
1 changed files with 1 additions and 4 deletions
|
@ -184,10 +184,7 @@ steps:
|
|||
## Getting go version from the go.mod file
|
||||
|
||||
The `go-version-file` input accepts a path to a `go.mod` 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 search for the
|
||||
latest available patch version sequentially in the runner's directory with the cached tools, in
|
||||
the [versions-manifest.json](https://github.com/actions/go-versions/blob/main/versions-manifest.json) file or at the go
|
||||
servers.
|
||||
used by a project.
|
||||
|
||||
If both the `go-version` and the `go-version-file` inputs are provided then the `go-version` input is used.
|
||||
> The action will search for the `go.mod` file relative to the repository root
|
||||
|
|
Loading…
Reference in a new issue