From 512a7d92d0f12a76825f84f66aa9ebb529e05c95 Mon Sep 17 00:00:00 2001 From: Utkarsh Srivastava Date: Mon, 27 Mar 2023 17:15:31 +0530 Subject: [PATCH] add golangci-lint changes from master Signed-off-by: Utkarsh Srivastava --- .github/workflows/golangci-lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 9815cabdd9..b9d707f84a 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -12,7 +12,7 @@ jobs: uses: golangci/golangci-lint-action@v2 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.48.0 + version: v1.50.0 # Optional: if set to true then the all caching functionality will be complete disabled, # takes precedence over all other caching options. @@ -22,6 +22,6 @@ jobs: # working-directory: somedir # Optional: golangci-lint command line arguments. - args: --disable-all -E varcheck,structcheck,typecheck,errcheck,gosimple,unused,deadcode,ineffassign,staticcheck --timeout=4m + args: --disable-all --print-issued-lines -E varcheck,structcheck,typecheck,errcheck,gosimple,unused,deadcode,ineffassign,staticcheck --timeout=4m # Optional: show only new issues if it's a pull request. The default value is `false`. # only-new-issues: true