Skip to content

Commit fa39802

Browse files
committed
CI: use Go 1.22
Signed-off-by: Akihiro Suda <[email protected]>
1 parent fbe749c commit fa39802

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Diff for: .github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fetch-depth: 1
3131
- uses: actions/setup-go@v5
3232
with:
33-
go-version: 1.21.x
33+
go-version: 1.22.x
3434
- name: Make darwin artifacts
3535
run: make artifacts-darwin
3636
- name: "Upload artifacts"
@@ -51,7 +51,7 @@ jobs:
5151
path: _artifacts/
5252
- uses: actions/setup-go@v5
5353
with:
54-
go-version: 1.21.x
54+
go-version: 1.22.x
5555
- name: Install gcc-aarch64-linux-gnu
5656
run: |
5757
sudo apt-get update

Diff for: .github/workflows/test.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 1
2929
- uses: actions/setup-go@v5
3030
with:
31-
go-version: 1.21.x
31+
go-version: 1.22.x
3232
- name: Run golangci-lint
3333
uses: golangci/[email protected]
3434
with:
@@ -63,8 +63,8 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
# For Linux we have to support an old release of Go
67-
go-version: ["1.20.x", "1.21.x", "1.22.0-rc.1"]
66+
# For non-Homebrew we have to support an old release of Go
67+
go-version: ["1.21.x", "1.22.x"]
6868
steps:
6969
- uses: actions/checkout@v4
7070
with:
@@ -117,7 +117,7 @@ jobs:
117117
fetch-depth: 1
118118
- uses: actions/setup-go@v5
119119
with:
120-
go-version: 1.21.x
120+
go-version: 1.22.x
121121
- name: Unit tests
122122
run: go test -v ./...
123123
- name: Make
@@ -146,7 +146,7 @@ jobs:
146146
fetch-depth: 1
147147
- uses: actions/setup-go@v5
148148
with:
149-
go-version: 1.21.x
149+
go-version: 1.22.x
150150
- name: Cache ~/Library/Caches/lima/download
151151
uses: actions/cache@v4
152152
with:
@@ -315,7 +315,7 @@ jobs:
315315
fetch-depth: 1
316316
- uses: actions/setup-go@v5
317317
with:
318-
go-version: 1.21.x
318+
go-version: 1.22.x
319319
- name: Cache ~/Library/Caches/lima/download
320320
uses: actions/cache@v4
321321
with:
@@ -389,7 +389,7 @@ jobs:
389389
fetch-depth: 0
390390
- uses: actions/setup-go@v5
391391
with:
392-
go-version: 1.21.x
392+
go-version: 1.22.x
393393
- name: Cache ~/Library/Caches/lima/download
394394
uses: actions/cache@v4
395395
with:
@@ -421,7 +421,7 @@ jobs:
421421
fetch-depth: 1
422422
- uses: actions/setup-go@v5
423423
with:
424-
go-version: 1.21.x
424+
go-version: 1.22.x
425425
- name: Cache ~/Library/Caches/lima/download
426426
uses: actions/cache@v4
427427
with:

0 commit comments

Comments
 (0)