reviewdog / action-golangci-lint

Run golangci-lint with reviewdog
https://github.com/marketplace?type=actions&query=reviewdog
MIT License
214 stars 41 forks source link

no go files to analyze #28

Open samsondav opened 4 years ago

samsondav commented 4 years ago

Running on the chainlink repo we get:

level=error msg="Running error: context loading failed: no go files to analyze"
level=error msg="Timeout exceeded: try increasing it by passing --timeout option"

Is this a bug or a misconfiguration?

Wollac commented 4 years ago

I had a similar issue and for me increasing the timeout in golangci_lint_flags worked. Seams like golangci is reporting a strange error about "no go files to analyze" on timeout...

haya14busa commented 4 years ago

https://github.com/reviewdog/action-golangci-lint/pull/46 may fix the issue.

Also, if it's golangci-lint issue, it's not issue of this actions. Can you try the new version and/or try golangci-lint itself as well if it's still reproducible?