Skip to content

Commit 3ffde13

Browse files
kolyshkinldez
andauthored
dev: remove stable from actions/setup-go (#3055)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 1557692 commit 3ffde13

File tree

4 files changed

+30
-20
lines changed

4 files changed

+30
-20
lines changed

Diff for: .github/workflows/post-release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
- name: Install Go
1515
uses: actions/setup-go@v3
1616
with:
17-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
1817
# https://github.com/actions/setup-go#supported-version-syntax
19-
# stable: 'false'
18+
# ex:
19+
# - 1.18beta1 -> 1.18.0-beta.1
20+
# - 1.18rc1 -> 1.18.0-rc.1
2021
go-version: 1.19
2122

2223
- name: Update GitHub action config

Diff for: .github/workflows/pr-extra.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-go@v3
1515
with:
16-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
1716
# https://github.com/actions/setup-go#supported-version-syntax
18-
# stable: 'false'
17+
# ex:
18+
# - 1.18beta1 -> 1.18.0-beta.1
19+
# - 1.18rc1 -> 1.18.0-rc.1
1920
go-version: 1.19
2021
- name: Run go list
2122
run: go list -json -m all > go.list

Diff for: .github/workflows/pr.yml

+18-12
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
- name: Install Go
1717
uses: actions/setup-go@v3
1818
with:
19-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
2019
# https://github.com/actions/setup-go#supported-version-syntax
21-
# stable: 'false'
20+
# ex:
21+
# - 1.18beta1 -> 1.18.0-beta.1
22+
# - 1.18rc1 -> 1.18.0-rc.1
2223
go-version: ${{ env.GO_VERSION }}
2324
- name: Checkout code
2425
uses: actions/checkout@v3
@@ -36,9 +37,10 @@ jobs:
3637
- name: Install Go
3738
uses: actions/setup-go@v3
3839
with:
39-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
4040
# https://github.com/actions/setup-go#supported-version-syntax
41-
# stable: 'false'
41+
# ex:
42+
# - 1.18beta1 -> 1.18.0-beta.1
43+
# - 1.18rc1 -> 1.18.0-rc.1
4244
# go-version: ${{ env.GO_VERSION }} # todo(ldez) uncomment after the next release v1.48.0
4345
go-version: 1.18
4446
- name: lint
@@ -57,9 +59,10 @@ jobs:
5759
- name: Install Go
5860
uses: actions/setup-go@v3
5961
with:
60-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
6162
# https://github.com/actions/setup-go#supported-version-syntax
62-
# stable: 'false'
63+
# ex:
64+
# - 1.18beta1 -> 1.18.0-beta.1
65+
# - 1.18rc1 -> 1.18.0-rc.1
6366
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
6467
- name: Run tests
6568
run: make.exe test
@@ -73,9 +76,10 @@ jobs:
7376
- name: Install Go
7477
uses: actions/setup-go@v3
7578
with:
76-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
7779
# https://github.com/actions/setup-go#supported-version-syntax
78-
# stable: 'false'
80+
# ex:
81+
# - 1.18beta1 -> 1.18.0-beta.1
82+
# - 1.18rc1 -> 1.18.0-rc.1
7983
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
8084
- name: Run tests
8185
run: make test
@@ -93,9 +97,10 @@ jobs:
9397
- name: Install Go
9498
uses: actions/setup-go@v3
9599
with:
96-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
97100
# https://github.com/actions/setup-go#supported-version-syntax
98-
# stable: 'false'
101+
# ex:
102+
# - 1.18beta1 -> 1.18.0-beta.1
103+
# - 1.18rc1 -> 1.18.0-rc.1
99104
go-version: ${{ matrix.golang }}
100105
- uses: actions/cache@v3
101106
with:
@@ -119,9 +124,10 @@ jobs:
119124
- name: Install Go
120125
uses: actions/setup-go@v3
121126
with:
122-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
123127
# https://github.com/actions/setup-go#supported-version-syntax
124-
# stable: 'false'
128+
# ex:
129+
# - 1.18beta1 -> 1.18.0-beta.1
130+
# - 1.18rc1 -> 1.18.0-rc.1
125131
go-version: ${{ env.GO_VERSION }}
126132
- name: Check generated files are up to date
127133
run: make fast_check_generated

Diff for: .github/workflows/tag.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
- name: Install Go
1515
uses: actions/setup-go@v3
1616
with:
17-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
1817
# https://github.com/actions/setup-go#supported-version-syntax
19-
# stable: 'false'
18+
# ex:
19+
# - 1.18beta1 -> 1.18.0-beta.1
20+
# - 1.18rc1 -> 1.18.0-rc.1
2021
go-version: 1.19
2122
- name: Unshallow
2223
run: git fetch --prune --unshallow
@@ -43,9 +44,10 @@ jobs:
4344
- name: Install Go
4445
uses: actions/setup-go@v3
4546
with:
46-
# Keep the following comment to be able to use rc and beta version of Go (ex: 1.18.0-rc.1).
4747
# https://github.com/actions/setup-go#supported-version-syntax
48-
# stable: 'false'
48+
# ex:
49+
# - 1.18beta1 -> 1.18.0-beta.1
50+
# - 1.18rc1 -> 1.18.0-rc.1
4951
go-version: 1.19
5052

5153
- name: Unshallow

0 commit comments

Comments
 (0)