Skip to content

Commit a85f152

Browse files
authored
Bump github action setup-go to v3 (#2675)
And use `check-latest: true` Which hopefully will make it more aggressive in checking if a more recent version of go is available
1 parent 7485a92 commit a85f152

File tree

6 files changed

+18
-9
lines changed

6 files changed

+18
-9
lines changed

.github/workflows/arm-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ jobs:
1111
- name: Checkout code
1212
uses: actions/checkout@v2
1313
- name: Install Go
14-
uses: actions/setup-go@v2
14+
uses: actions/setup-go@v3
1515
with:
1616
go-version: 1.18.x
17+
check-latest: true
1718
- name: Run tests
1819
run: |
1920
set -x

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ jobs:
8080
with:
8181
fetch-depth: 0
8282
- name: Install Go
83-
uses: actions/setup-go@v2
83+
uses: actions/setup-go@v3
8484
with:
8585
go-version: ${{ needs.configure.outputs.go_version }}
86+
check-latest: true
8687
- name: Install nfpm (dep and rpm package builder)
8788
run: |
8889
go install github.com/goreleaser/nfpm/v2/cmd/[email protected]

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Install Go
20-
uses: actions/setup-go@v2
20+
uses: actions/setup-go@v3
2121
with:
2222
go-version: 1.18.x
23+
check-latest: true
2324
- name: Check dependencies
2425
run: |
2526
go version
@@ -39,10 +40,11 @@ jobs:
3940
with:
4041
fetch-depth: 0
4142
- name: Install Go
42-
uses: actions/setup-go@v2
43+
uses: actions/setup-go@v3
4344
with:
4445
# up this to 1.18.x when we update teh version of golangci-lint to latest
4546
go-version: 1.17.x
47+
check-latest: true
4648
- name: Retrieve golangci-lint version
4749
run: |
4850
echo "::set-output name=Version::$(head -n 1 "${GITHUB_WORKSPACE}/.golangci.yml" | tr -d '# ')"

.github/workflows/tc39.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
- name: Checkout code
2121
uses: actions/checkout@v2
2222
- name: Install Go
23-
uses: actions/setup-go@v2
23+
uses: actions/setup-go@v3
2424
with:
2525
go-version: 1.18.x
26+
check-latest: true
2627
- name: Run tests
2728
run: |
2829
set -x

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ jobs:
2727
run: |
2828
echo "Running tests on '${GITHUB_REF}' with '$(git describe --tags --always --long --dirty)' checked out..."
2929
- name: Install Go
30-
uses: actions/setup-go@v2
30+
uses: actions/setup-go@v3
3131
with:
3232
go-version: ${{ matrix.go-version }}
33+
check-latest: true
3334
- name: Run tests
3435
run: |
3536
set -x
@@ -51,9 +52,10 @@ jobs:
5152
- name: Checkout code
5253
uses: actions/checkout@v3
5354
- name: Install Go
54-
uses: actions/setup-go@v2
55+
uses: actions/setup-go@v3
5556
with:
5657
go-version: 1.x
58+
check-latest: true
5759
- name: Install Go tip
5860
run: |
5961
go install golang.org/dl/gotip@latest
@@ -82,9 +84,10 @@ jobs:
8284
- name: Checkout code
8385
uses: actions/checkout@v3
8486
- name: Install Go
85-
uses: actions/setup-go@v2
87+
uses: actions/setup-go@v3
8688
with:
8789
go-version: ${{ matrix.go-version }}
90+
check-latest: true
8891
- name: Run tests with code coverage
8992
run: |
9093
go version

.github/workflows/xk6.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ jobs:
2222
- name: Checkout code
2323
uses: actions/checkout@v2
2424
- name: Install Go
25-
uses: actions/setup-go@v2
25+
uses: actions/setup-go@v3
2626
with:
2727
go-version: 1.18.x
28+
check-latest: true
2829
- name: Install Go tip
2930
if: matrix.go == 'tip'
3031
run: |

0 commit comments

Comments
 (0)