mirror of
https://github.com/actions/setup-go.git
synced 2026-07-01 12:01:46 +00:00
chore: update to use go1.21
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
883490dfd0
commit
a852e3bbfb
2
.github/workflows/windows-validation.yml
vendored
2
.github/workflows/windows-validation.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
cache: [false, true]
|
||||
go: [1.20.1]
|
||||
go: [1.21.0]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
||||
@ -61,10 +61,10 @@ steps:
|
||||
> **Note**: Due to the peculiarities of YAML parsing, it is recommended to wrap the version in single quotation marks:
|
||||
>
|
||||
> ```yaml
|
||||
> go-version: '1.20'
|
||||
> go-version: '1.21'
|
||||
> ```
|
||||
>
|
||||
> The recommendation is based on the YAML parser's behavior, which interprets non-wrapped values as numbers and, in the case of version 1.20, trims it down to 1.2, which may not be very obvious.
|
||||
> The recommendation is based on the YAML parser's behavior, which interprets non-wrapped values as numbers and, in the case of version 1.21, trims it down to 1.2, which may not be very obvious.
|
||||
Matching an unstable pre-release:
|
||||
|
||||
```yaml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user