golangci-lint fails in CI picks up golang v1.19 gofmt errors. #727
Labels
ci/build
This is issue is about the build or CI system, and the administration of it.
Milestone
Despite golangci-lint config having set to golang v1.18 for all linters and global options. The binary that golangci-lint has pre-built does not respect these config options (guess is probably because it was pre-compiled using go1.19). Everything works fine if we build it using go install from source though... however the golangci-lint action doesn't have a way to specify how to build it, but just takes the official pre-build binary.
So setting golangci-lint action to v1.47 should fix this for now.
The text was updated successfully, but these errors were encountered: