mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-11-29 09:50:57 -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
|
## 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
|
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
|
used by a project.
|
||||||
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.
|
|
||||||
|
|
||||||
If both the `go-version` and the `go-version-file` inputs are provided then the `go-version` input is used.
|
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
|
> The action will search for the `go.mod` file relative to the repository root
|
||||||
|
|
Loading…
Reference in a new issue