diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f8a34887..db420672 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,8 +26,6 @@ jobs: if: steps.changed-files.outputs.any_changed == 'true' uses: golangci/golangci-lint-action@v2 with: - version: v1.41.0 - # Only block PRs on new problems. # If this is not enabled, we will end up having PRs # blocked because new linters has appared and other diff --git a/.golangci.yaml b/.golangci.yaml index baed8e2e..b84aabbe 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -23,11 +23,14 @@ linters: - exhaustivestruct - tagliatelle - godox + - ireturn + - execinquery # We should strive to enable these: - wrapcheck - dupl - makezero + - maintidx # We might want to enable this, but it might be a lot of work - cyclop