Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: GitHub ActionsのCIに時間がかかる #191

Open
1 task done
Yamasaki-pan961 opened this issue Apr 26, 2024 · 4 comments
Open
1 task done

[Bug]: GitHub ActionsのCIに時間がかかる #191

Yamasaki-pan961 opened this issue Apr 26, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Yamasaki-pan961
Copy link
Contributor

これに関する既存の Issue はありますか?

  • 既存の Issue はありませんでした

現在の動作

Templateとして作成したリポジトリで、
GitHub ActionsのCIに時間がかかりデフォルトの制限時間10分を超えるため、CIが失敗する。

期待される動作

なるべく短くなるように改善する。
どう改善するかは未定。
以下が対応されると改善されるかも。

環境

- Commit Hash: c761fb804492a901765d33330d23da16f0cde50f
@Yamasaki-pan961 Yamasaki-pan961 added the bug Something isn't working label Apr 26, 2024
@blendthink
Copy link
Member

こちらキャッシュがないとき失敗してしまうと思うので、何かしら改善しないとですね。。
(どこが時間かかっているのだろう、、)

ひとまずは 15 分とかにするとか、時間を少し伸ばすとかですね。

@blendthink
Copy link
Member

時間のかかっているステップ

  • Report custom_lint result
  • Check format

該当のステップは、並列処理も行っているはず。

おそらく analyzer の処理の問題もあるので、時間がかかってしまうのは現状仕方ないかもしれない。

@blendthink
Copy link
Member

時間かかるのはしょうがないとしても、ジョブを並列に処理するようにして、ワークフロー自体の完了速度をもう少し上げてもいいかも

@Yamasaki-pan961
Copy link
Contributor Author

ジョブを並列にした結果、12分ぐらいで完了します。
Formatがかなり時間かかっていますね
https://github.com/yumemi/nap-camp-mock/actions/runs/8979954766?pr=49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants