Skip to content

Testing multiple operating systems (os, windows) with golangci-lint in CI #5159

Answered by ldez
leap-pea asked this question in Q&A
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: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by leap-pea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants