ci: use verify-staticcheck.sh instead (#350)

Signed-off-by: Long Dai <long0dai@foxmail.com>
This commit is contained in:
Long Dai 2021-05-22 12:59:13 +08:00 committed by GitHub
parent 72948a3e47
commit 56c932e5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 8 deletions

View File

@ -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