From 4ff51e81477553be69bd28cb64c86763db3dc6d2 Mon Sep 17 00:00:00 2001 From: Daniel Hu Date: Mon, 4 Apr 2022 21:02:23 +0800 Subject: [PATCH] fix: golang lint ci failed Signed-off-by: Daniel Hu --- .github/workflows/golangci-lint.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 8ee1a92b3..faa535d58 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,9 +13,13 @@ jobs: name: Golang lint runs-on: ubuntu-latest steps: + - name: Install Go 1.17 + uses: actions/setup-go@v2 + with: + go-version: 1.17 - uses: actions/checkout@v2 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: v1.29 args: --timeout 3m0s