-
Notifications
You must be signed in to change notification settings - Fork 15
run staticcheck #6
Comments
Interestingly, it looks like |
We should use the real staticcheck, not the one bundled with golangci-lint. Unfortunately, that one doesn't give us proper annotations: dominikh/go-tools#910. @mvdan Any suggestions how to move forward with this? Should we use https://github.com/WillAbides/setup-go-faster? Unfortunately, that would be another 3rd-party dependency. |
I have a friend who is an engineer on the Actions team, I've pinged him about this whole situation in the hopes that he can reach the right person. Let's wait a week and hopefully it gets resolved by then. If we're still here in a week, maybe we can run staticcheck's output via a simple sed script to make its output match what setup-go expects. This is roughly what we'd gain with golangci-lint, and it brings its own downsides, so I think a sed line should be better. I don't think we want to encourage others to use a third-party setup-go action just yet. |
FWIW, I tried out setup-go-faster in my demo repo, and it seems to work: https://github.com/marten-seemann-test/target/blob/master/.github/workflows/go-check.yml |
See ipld/ipld#92.
The text was updated successfully, but these errors were encountered: