golangci-lint will be stuck and use huge memory in go 1.20 environment, both mac and linux. #3536
Closed
4 tasks done
Labels
duplicate
This issue or pull request already exists
Welcome
Description of the problem
golangci-lint will be stuck and use huge memory in go 1.20 environment, both mac and linux.
Rollback the go version to go1.19, and golangci-lint returns to normal.
mac
linux
Version of golangci-lint
golangci-lint has version v1.50.1 built from (unknown, mod sum: "h1:C829clMcZXEORakZlwpk7M4iDw2XiwxxKaG504SZ9zY=") on (unknown)
Configuration file
Go environment
Linux: go version go1.20 linux/amd64
Verbose output of running
$ golangci-lint run
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
[1] 2629 killed golangci-lint run
Code example or link to a public repository
// add your code here
The text was updated successfully, but these errors were encountered: