invertase / github-action-dart-analyzer

A GitHub action to run Dart analyzer with annotation support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Action stucks with wrong working directory path

vbuberen opened this issue · comments

Looks like in some cases Action can't properly detect packages to analyze and just stucks forever not showing any information.

Tried to add this Action to PlusPlugins repo and couldn't understand why it was cancelled by timeout if without action analyze step took just a few minutes:
https://github.com/fluttercommunity/plus_plugins/runs/4822359967?check_suite_focus=true
https://github.com/fluttercommunity/plus_plugins/runs/4809818941?check_suite_focus=true

I fixed the issue by specifying working directory as ./packages for that repo, but, I guess, it would be better if Action would fail in case it can't find project to analyze or at least provide some logs about ongoing process, so it would be easier to detect what is going on.

P.S. Thanks for such a useful Action!

Warning: Unexpected input(s) 'working-directory', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'persist-credentials', 'path', 'clean', 'fetch-depth', 'lfs', 'submodules', 'set-safe-directory']