[service] Update golangci-lint

This commit is contained in:
Daniel 2024-08-28 11:51:13 +02:00
parent 78e4a40750
commit 113dc0438a
2 changed files with 5 additions and 4 deletions
.github/workflows
.golangci.yml

View file

@ -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

View file

@ -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: