Skip to content

Commit 80307b7

Browse files
authored
Merge pull request #6761 from twz123/bump-setup-go
Bump setup-go to v6
2 parents 7df5e38 + 498b323 commit 80307b7

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
run: .github/workflows/prepare-build-env.sh
206206

207207
- name: Set up Go
208-
uses: actions/setup-go@v5
208+
uses: actions/setup-go@v6
209209
if: matrix.target-os != ''
210210
with:
211211
go-version: ${{ env.GO_VERSION }}
@@ -312,9 +312,11 @@ jobs:
312312
run: .github/workflows/prepare-build-env.sh
313313

314314
- name: Set up Go
315-
uses: actions/setup-go@v3
315+
# https://github.com/actions/setup-go/pull/666
316+
uses: actions/setup-go@b551c4cd70271da7ce09faf55f722b5e270c54d1
316317
with:
317318
go-version: ${{ env.GO_VERSION }}
319+
cache: false
318320

319321
- name: Cache embedded binaries
320322
id: cache-embedded-bins
@@ -418,9 +420,10 @@ jobs:
418420
run: .github/workflows/prepare-build-env.sh
419421

420422
- name: Set up Go
421-
uses: actions/setup-go@v3
423+
uses: actions/setup-go@v6
422424
with:
423425
go-version: ${{ env.GO_VERSION }}
426+
cache: false
424427

425428
- name: Download compiled binary
426429
uses: actions/download-artifact@v5

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
run: .github/workflows/prepare-build-env.sh
6565

6666
- name: Set up Go
67-
uses: actions/setup-go@v5
67+
uses: actions/setup-go@v6
6868
if: matrix.target-os != 'linux'
6969
with:
7070
go-version: ${{ env.GO_VERSION }}

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@ jobs:
8282
VERSION: ${{ needs.release.outputs.tag_name }}
8383

8484
- name: Set up Go for smoke tests
85-
uses: actions/setup-go@v3
85+
uses: actions/setup-go@v6
8686
with:
8787
go-version: ${{ env.GO_VERSION }}
88+
cache: false
8889

8990
- name: Run basic smoke test
9091
run: make check-basic
@@ -308,9 +309,10 @@ jobs:
308309
cat k0s.sig
309310
310311
- name: Set up Go for smoke tests
311-
uses: actions/setup-go@v3
312+
uses: actions/setup-go@v6
312313
with:
313314
go-version: ${{ env.GO_VERSION }}
315+
cache: false
314316

315317
- name: Run basic smoke test
316318
run: make check-basic
@@ -397,9 +399,10 @@ jobs:
397399
cat k0s.sig
398400
399401
- name: Set up Go for smoke tests
400-
uses: actions/setup-go@v3
402+
uses: actions/setup-go@v6
401403
with:
402404
go-version: ${{ env.GO_VERSION }}
405+
cache: false
403406

404407
- name: Run basic smoke test
405408
run: make check-basic

.github/workflows/smoketest.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ jobs:
4646
run: .github/workflows/prepare-docker-ipv6.sh
4747

4848
- name: Set up Go
49-
uses: actions/setup-go@v3
49+
uses: actions/setup-go@v6
5050
with:
5151
go-version: ${{ env.GO_VERSION }}
52+
cache: false
5253

5354
- name: Download compiled executable
5455
uses: actions/download-artifact@v5

0 commit comments

Comments
 (0)