Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit 1ab43c1

Browse files
committed
update .github/workflows/go-check.yml
1 parent 86345ae commit 1ab43c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: .github/workflows/go-check.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
submodules: recursive
1717
- uses: actions/setup-go@v2
1818
with:
19-
go-version: "1.17.x"
19+
go-version: "1.18.x"
2020
- name: Run repo-specific setup
2121
uses: ./.github/actions/go-check-setup
2222
if: hashFiles('./.github/actions/go-check-setup') != ''
@@ -27,7 +27,7 @@ jobs:
2727
echo "RUNGOGENERATE=true" >> $GITHUB_ENV
2828
fi
2929
- name: Install staticcheck
30-
run: go install honnef.co/go/tools/cmd/staticcheck@c8caa92bad8c27ae734c6725b8a04932d54a147b # 2021.1.2 (v0.2.2)
30+
run: go install honnef.co/go/tools/cmd/staticcheck@d7e217c1ff411395475b2971c0824e1e7cc1af98 # 2022.1 (v0.3.0)
3131
- name: Check that go.mod is tidy
3232
uses: protocol/[email protected]
3333
with:
@@ -71,4 +71,3 @@ jobs:
7171
git status --short
7272
exit 1
7373
fi
74-

0 commit comments

Comments
 (0)