Skip to content

Commit 45c98e7

Browse files
committed
CI: use Go 1.18
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 50beb56 commit 45c98e7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/setup-go@v2
1919
with:
20-
go-version: 1.17.x
20+
go-version: 1.18.x
2121
- uses: actions/checkout@v2
2222
with:
2323
fetch-depth: 1
@@ -40,7 +40,7 @@ jobs:
4040
path: _artifacts/
4141
- uses: actions/setup-go@v2
4242
with:
43-
go-version: 1.17.x
43+
go-version: 1.18.x
4444
- name: Install gcc-aarch64-linux-gnu
4545
run: |
4646
sudo apt-get update

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
steps:
1616
- uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.17.x
18+
go-version: 1.18.x
1919
- uses: actions/checkout@v2
2020
with:
2121
fetch-depth: 1
2222
- name: Run golangci-lint
2323
uses: golangci/golangci-lint-action@v2
2424
with:
25-
version: v1.42.1
25+
version: v1.45.0
2626
args: --verbose
2727
- name: Run yamllint
2828
run: yamllint .
@@ -33,7 +33,7 @@ jobs:
3333
- name: Run shellcheck
3434
run: find . -name '*.sh' | xargs shellcheck
3535
- name: Install shfmt
36-
run: GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt
36+
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.4.3
3737
- name: Run shfmt
3838
run: find . -name '*.sh' | xargs shfmt -s -d
3939
- name: Check hyperlinks
@@ -58,7 +58,7 @@ jobs:
5858
steps:
5959
- uses: actions/setup-go@v2
6060
with:
61-
go-version: 1.17.x
61+
go-version: 1.18.x
6262
- uses: actions/checkout@v2
6363
with:
6464
fetch-depth: 1
@@ -150,7 +150,7 @@ jobs:
150150
steps:
151151
- uses: actions/setup-go@v2
152152
with:
153-
go-version: 1.17.x
153+
go-version: 1.18.x
154154
- uses: actions/checkout@v3
155155
with:
156156
fetch-depth: 0
@@ -176,7 +176,7 @@ jobs:
176176
steps:
177177
- uses: actions/setup-go@v2
178178
with:
179-
go-version: 1.17.x
179+
go-version: 1.18.x
180180
- uses: actions/checkout@v2
181181
with:
182182
fetch-depth: 1
@@ -190,7 +190,7 @@ jobs:
190190
steps:
191191
- uses: actions/setup-go@v2
192192
with:
193-
go-version: 1.17.x
193+
go-version: 1.18.x
194194
- name: Install gcc-aarch64-linux-gnu
195195
run: |
196196
sudo apt-get update

0 commit comments

Comments
 (0)