diff --git a/.github/workflows/go-tests-windows.yml b/.github/workflows/go-tests-windows.yml index e08bbecd6..beacae483 100644 --- a/.github/workflows/go-tests-windows.yml +++ b/.github/workflows/go-tests-windows.yml @@ -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 diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index abe923d05..0963445d1 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -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 diff --git a/.golangci.yml b/.golangci.yml index f0b102ca7..93ed9b196 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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: