From 113dc0438a103687b8b9eb290c4ece2732f14cd3 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 28 Aug 2024 11:51:13 +0200 Subject: [PATCH] [service] Update golangci-lint --- .github/workflows/go.yml | 2 +- .golangci.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 04a0ea64..992f0c62 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -40,7 +40,7 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@v4 with: - version: v1.57.1 + version: v1.60.3 only-new-issues: true args: -c ./.golangci.yml --timeout 15m diff --git a/.golangci.yml b/.golangci.yml index d6892cbc..12967f60 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,11 +18,13 @@ linters: - gocyclo - goerr113 - gomnd + - gomoddirectives - ifshort - interfacebloat - interfacer - ireturn - lll + - mnd - musttag - nestif - nilnil @@ -31,16 +33,15 @@ linters: - nolintlint - nonamedreturns - nosnakecase + - perfsprint # TODO(ppacher): we should re-enanble this one to avoid costly fmt.* calls in the hot-path - revive - tagliatelle + - testifylint - testpackage - varnamelen - whitespace - wrapcheck - wsl - - perfsprint # TODO(ppacher): we should re-enanble this one to avoid costly fmt.* calls in the hot-path - - testifylint - - gomoddirectives linters-settings: revive: