ci: use verify-staticcheck.sh instead (#350)
Signed-off-by: Long Dai <long0dai@foxmail.com>
This commit is contained in:
parent
72948a3e47
commit
56c932e5a6
|
@ -9,15 +9,14 @@ jobs:
|
||||||
name: lint
|
name: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: checkout code
|
||||||
- name: golangci-lint
|
uses: actions/checkout@v2
|
||||||
uses: golangci/golangci-lint-action@v2
|
- name: install Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
# the version of golangci-lint.
|
go-version: 1.14.x
|
||||||
version: v1.32.2
|
- name: lint
|
||||||
|
run: hack/verify-staticcheck.sh
|
||||||
# show only new issues if it's a pull request.
|
|
||||||
only-new-issues: false
|
|
||||||
codegen:
|
codegen:
|
||||||
name: codegen
|
name: codegen
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue