github-action-dart-analyzer
github-action-dart-analyzer copied to clipboard
Action stucks with wrong working directory path
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!