reviewdog / action-golangci-lint

Run golangci-lint with reviewdog

Home Page:https://github.com/marketplace?type=actions&query=reviewdog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no go files to analyze

samsondav opened this issue · comments

commented

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?

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...

#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?