From 56c932e5a6372bc06084777e9f9a91702b0bc077 Mon Sep 17 00:00:00 2001 From: Long Dai Date: Sat, 22 May 2021 12:59:13 +0800 Subject: [PATCH] ci: use verify-staticcheck.sh instead (#350) Signed-off-by: Long Dai --- .github/workflows/ci.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57fa48614..5bc48245b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,15 +9,14 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + - name: checkout code + uses: actions/checkout@v2 + - name: install Go + uses: actions/setup-go@v2 with: - # the version of golangci-lint. - version: v1.32.2 - - # show only new issues if it's a pull request. - only-new-issues: false + go-version: 1.14.x + - name: lint + run: hack/verify-staticcheck.sh codegen: name: codegen runs-on: ubuntu-latest