update golangci-lint (#3590)

This commit is contained in:
mmetc 2025-04-29 11:24:01 +02:00 committed by GitHub
parent a79b92f280
commit 2002b8da85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 8 deletions

View file

@ -58,6 +58,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.0
version: v2.1
args: --issues-exit-code=1 --timeout 10m
only-new-issues: false

View file

@ -198,6 +198,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.0
version: v2.1
args: --issues-exit-code=1 --timeout 10m
only-new-issues: false

View file

@ -7,12 +7,6 @@ run:
linters:
default: all
disable:
#
# DEPRECATED by golangi-lint
# none right now
#
# Redundant
#
@ -25,6 +19,7 @@ linters:
# Disabled atm
- intrange # intrange is a linter to find places where for loops could make use of an integer range.
- funcorder
#
# Recommended? (easy)
@ -172,6 +167,7 @@ linters:
- tooManyResultsChecker
- docStub
- preferFprint
- importShadow
gomoddirectives:
replace-allow-list: