-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
191 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,14 @@ | |
|
||
It's like actions/setup-go but faster. | ||
|
||
### A Note About Go 1.21.0 | ||
|
||
**Use [email protected] or later** if you want to install Go 1.21.0. | ||
|
||
With the release of go1.21.0, the Go team has changed the way they style | ||
dot-zero releases. They used to be styled like `go1.N`, but now they are | ||
`go1.N.0`. This caused issues with earlier versions of setup-go-faster. | ||
|
||
### Faster | ||
|
||
Setup-go-faster takes about a third as long as setup-go to install go on a | ||
|
@@ -57,8 +65,6 @@ accordingly. If there is good use case for `stable`, it can be added. | |
|
||
### go-version | ||
|
||
__Required__ | ||
|
||
The version of go to install. It can be an exact version or a semver constraint like '1.14.x' or '^1.14.4'. | ||
Do not add "go" or "v" to the beginning of the version. | ||
|
||
|
@@ -96,6 +102,13 @@ For those who learn best from examples: | |
| tip | installs gotip from source | | ||
|
||
|
||
### go-version-file | ||
|
||
Path to a go.mod or go.work file. setup-go-faster will take the version from the "go" directive | ||
in this file and convert it to a semver minimum version. For example, if the go directive is `go 1.21rc1`, | ||
setup-go-faster will use the constraint `>= 1.21.0-rc1`. | ||
|
||
|
||
### ignore-local | ||
|
||
Normally a pre-installed version of go that meets the go-version constraints will be used instead | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters