mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
Add description to doc
This commit is contained in:
parent
35030c1fd2
commit
173c70b9ff
1 changed files with 9 additions and 0 deletions
|
@ -74,6 +74,15 @@ jobs:
|
||||||
- run: go run hello.go
|
- run: go run hello.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Keep in mind: latest, cached go compilers and semver notation.
|
||||||
|
|
||||||
|
The `setup-go` action doesn't install the latest matched version if the cached version matches one from WF file.
|
||||||
|
**For example:**
|
||||||
|
Currently, there is three go compilers on [Ubuntu 20.04.3 LTS](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md) virtual environment: `1.15.15`, `1.16.12`, `1.17.5`.
|
||||||
|
When the `1.17.6` version will be out and there is `1.17.*` in `go-version` field, the cached `1.17.5` version will be used. Not the new one. Until the cached version will be updated to the latest `1.17.6`.
|
||||||
|
If you will specify fully `1.17.6`, the default installation process begins.
|
||||||
|
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue