invertase/github-action-dart-analyzer

Action stucks with wrong working directory path

Open

#7 创建于 2022年1月14日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (10 fork)github user discovery
hacktoberfest

仓库指标

Star
 (174 star)
PR 合并指标
 (PR 指标待抓取)

描述

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!

贡献者指南