mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
Corrected Versioning part in README
This commit is contained in:
parent
4607096c6c
commit
f4e0bc806a
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -42,11 +42,11 @@ steps:
|
||||||
- run: go version
|
- run: go version
|
||||||
```
|
```
|
||||||
|
|
||||||
### Versioning
|
### Supported version syntax
|
||||||
|
The `go-version` input supports the following syntax:
|
||||||
|
|
||||||
Major versions: `12`, `14`, `16`
|
Specific versions: `1.15`, `1.16.1`, `1.16.x`
|
||||||
More specific versions: `10.15`, `14.2.0`, `16.3.0`
|
SemVer's version range syntax: `^1.13.1`
|
||||||
Range versions: `^1.13.1`
|
|
||||||
For more information about semantic versioning please refer [semver](https://github.com/npm/node-semver) documentation
|
For more information about semantic versioning please refer [semver](https://github.com/npm/node-semver) documentation
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
@ -81,6 +81,12 @@ jobs:
|
||||||
- run: go run hello.go
|
- run: go run hello.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Supported version syntax
|
||||||
|
The `go-version` input supports the following syntax:
|
||||||
|
|
||||||
|
major versions: `12`, `14`, `16`
|
||||||
|
more specific versions: `10.15`, `14.2.0`, `16.3.0`
|
||||||
|
|
||||||
# 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