This commit is contained in:
Masahiro Furudate 2025-11-13 00:09:35 -08:00 committed by GitHub
commit 35cd40c5ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 9 deletions

View file

@ -190,7 +190,7 @@ The version can specify a patch version or omit it altogether (e.g., `go 1.22.0`
If a patch version is specified, that specific patch version will be used.
If no patch version is specified, it will search for the latest available patch version in the cache,
[versions-manifest.json](https://github.com/actions/go-versions/blob/main/versions-manifest.json), and the
[official Go language website](https://golang.org/dl/?mode=json&include=all), in that order.
[official Go language website](https://go.dev/dl/?mode=json&include=all), in that order.
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