diff --git a/.golangci.yml b/.golangci.yml index ff727b8c5e..96ec177253 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -41,6 +41,9 @@ linters: - errcheck run: + # prevent golangci-lint from deducting the go version to lint for through go.mod, + # which causes it to fallback to go1.17 semantics. + go: "1.23.2" timeout: 5m linters-settings: