From aea98ff5bfcd7642dd000c838f8129519b7fe0a8 Mon Sep 17 00:00:00 2001 From: Jianbo Sun Date: Wed, 6 Apr 2022 10:19:53 +0800 Subject: [PATCH] Chore: try fix lint (#3571) Signed-off-by: Jianbo Sun --- .github/workflows/go.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e1d5d4a3c..dee7b9619 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -71,6 +71,11 @@ jobs: if: needs.detect-noop.outputs.noop != 'true' steps: + - name: Setup Go + uses: actions/setup-go@v2 + with: + go-version: ${{ env.GO_VERSION }} + - name: Checkout uses: actions/checkout@v2 with: @@ -88,7 +93,7 @@ jobs: # version, but we prefer this action because it leaves 'annotations' (i.e. # it comments on PRs to point out linter violations). - name: Lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: ${{ env.GOLANGCI_VERSION }}