Closed
Description
The linter github action doesn't allow specifying a Go version. It overwrtes it to 1
in https://github.com/golangci/golangci-lint-action/blob/1d3f25b/src/install.ts#L60.
It would be very useful if the linter picked the Go version specified in go.mod or at least had an action parameter. I made a working PoC in https://github.com/x1ddos/golangci-lint-action/commit/6f8897f but it's for the action version 1.2.2.
We have a project which can't upgrade to the latest go1.15 and had to remove the action in BitBoxSwiss/bitbox-wallet-app#982.
Metadata
Metadata
Assignees
Labels
No labels