Updating go
version fails to run via pre-commit
#3966
Labels
duplicate
This issue or pull request already exists
go
version fails to run via pre-commit
#3966
Welcome
Description of the problem
Replicate with:
pre-commit
-enabled repository, runpre-commit run --all
with one go version (e.g., 1.19)pre-commit run --all
againExpected:
Receiving the same output (hopefully clean)
Actual:
Setting an explicit
GOROOT
can mitigate the problem, but not always.Reminds of this issue #3107, but (a) setting
language_version
(esp. with minor accurancy) is an exercise in futility (go.mod
already has the language version), and (b) changing theentry
is also not ideal.I'd be nice if
golangci-lint
would purge whatever is necessary to work again.Version of golangci-lint
rev: v1.53.2
Configuration
Go environment
Verbose output of running
Does not apply
Code example or link to a public repository
Proprietary
Validation
The text was updated successfully, but these errors were encountered: