Skip to content
Discussion options

You must be logged in to vote

Hi,

There is no option, golangci-lint relies on elements it has been compiled for.

Golangci-lint is not Go, using GOOS/GOARCH will not work as expected because of my previous explanation.

You can see examples inside the golangci-lint GitHub action: https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#how-to-use

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
1 reply
@wxiaoguang

This comment was marked as off-topic.

Answer selected by leap-pea
Comment options

You must be logged in to vote
15 replies
@ldez
Comment options

ldez May 12, 2026
Maintainer

@wxiaoguang
Comment options

@ldez
Comment options

ldez May 12, 2026
Maintainer

@wxiaoguang
Comment options

@wxiaoguang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants