diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 6654df0..6001965 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -43,7 +43,8 @@ jobs: - name: Run linters uses: golangci/golangci-lint-action@v9 with: - version: v2.11.4 + # Floor for go 1.27 callers: a linter built with an older Go can't load the config. + version: v2.13.2 args: --timeout=6m working-directory: _caller test: diff --git a/.golangci.yml b/.golangci.yml index 1e6dfd9..7ab6339 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -39,6 +39,10 @@ linters: settings: exhaustive: default-signifies-exhaustive: true + goconst: + # goconst v1.9.0 reports literals inside composite literals; these hold the prior signal. + ignore-map-keys: true + min-occurrences: 6 gocritic: enabled-checks: - ruleguard