From a2144dc08e06da17f3589dde4eadbcdf51bb7616 Mon Sep 17 00:00:00 2001 From: shaoting-huang Date: Fri, 22 Nov 2024 11:53:41 +0800 Subject: [PATCH] golangci lint Signed-off-by: shaoting-huang --- .github/workflows/golangci-lint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d6fc7035..db778b83 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -16,12 +16,12 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v3.0.0 with: - go-version: 1.17 + go-version: 1.17.8 - uses: actions/checkout@v3 - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v3.1.0 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version version: v1.53.3 @@ -30,7 +30,7 @@ jobs: # working-directory: somedir # Optional: golangci-lint command line arguments. - args: --timeout=10m --out-format=colored-line-number + args: --timeout=10m --out-format=colored-line-number -v # Optional: show only new issues if it's a pull request. The default value is `false`. # only-new-issues: true