You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Killed
Error: golangci-lint exit with code 137
Ran golangci-lint in 296885ms
This is confusing because locally I had updated golangci-lint to v1.60.3 and it ran fine. However, in the GitHub workflow, we rely on go.mod for the .ci module and it was still set to v1.59.1. But, even after upgrading it to v1.60.3, which supports Go v1.23.0, I get the same unhelpful message, "Killed."
Update: Solution found!
Fixing this required two pieces:
Upgrading to golangci-lint v1.60.0+
Playing with GOGC in the workflow file -- too high and I get "Killed", too low and it runs really slow
Same here. Its not only the action, I also get the memory issues locally on my computer. My golangci-lint is 1.60.3 compiled with go 1.23.
golangci-lint has version v1.60.3 built with go1.23.0 from (unknown, modified: ?, mod sum: "h1:l38A5de24ZeDlcFF+EB7m3W5joPD99/hS5SIHJPyZa0=") on (unknown)
Welcome
Description of the problem
Relates #552
How important is it that the Go version used to run golangci-lint is the same as the Go version used by the project?
When attempting to upgrade to Go v1.23.0:
Version of golangci-lint
v1.59.1
Version of the GitHub Action
v6.1.0
Workflow file
Golangci-lint configuration
Go version
v1.23.0
Code example or link to a public repository
HashiCorp Terraform AWS Provider
The text was updated successfully, but these errors were encountered: