Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: upgrade to golangci-lint v1.55.2 #28712

Merged
merged 4 commits into from
Dec 20, 2023
Merged

Conversation

fjl
Copy link
Contributor

@fjl fjl commented Dec 20, 2023

This is primarily to make lint work again on macOS 14. The older version of golangci-lint kept crashing. Also included is a fix for a goroutine leak in the recently-introduced function MustRunCommandWithOutput.

I had to disable the goconst linter because it started reporting issues all of sudden. These issues weren't new, but I think this linter is silly anyway and we're not going to start fixing the things it reports anytime soon. For example, it reported warnings like this one:

node/node.go:681:9: string `http://` has 6 occurrences, make it a constant (goconst)
	return "http://" + n.http.listenAddr()

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@holiman holiman added this to the 1.13.8 milestone Dec 20, 2023
@holiman holiman merged commit 8c2d455 into ethereum:master Dec 20, 2023
3 checks passed
Doozers pushed a commit to kilnfi/pgeth that referenced this pull request Dec 22, 2023
This is primarily to make lint work again on macOS 14. The older version of golangci-lint kept crashing. 

Also included is a fix for a goroutine leak in the recently-introduced function MustRunCommandWithOutput.
Dergarcon pushed a commit to specialmechanisms/mev-geth-0x2mev that referenced this pull request Jan 31, 2024
This is primarily to make lint work again on macOS 14. The older version of golangci-lint kept crashing. 

Also included is a fix for a goroutine leak in the recently-introduced function MustRunCommandWithOutput.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants