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

💚 ci のワークフローを集約 #162

Merged
merged 4 commits into from
Dec 25, 2023
Merged

Conversation

tatsutakein
Copy link
Member

@tatsutakein tatsutakein commented Dec 25, 2023

Issue

  • close #ISSUE_NUMBER 🦕

概要

ci のワークフローを集約します。

レビュー観点

特になし

レビューレベル

  • Lv0: まったく見ないで Approve する
  • Lv1: ぱっとみて違和感がないかチェックして Approve する
  • Lv2: 仕様レベルまで理解して、仕様通りに動くかある程度検証して Approve する
  • Lv3: 実際に環境で動作確認したうえで Approve する

レビュー優先度

  • すぐに見てもらいたい ( hotfix など ) 🚀
  • 今日中に見てもらいたい 🚗
  • 今日〜明日中で見てもらいたい 🚶
  • 数日以内で見てもらいたい 🐢

参考リンク

スクリーンショット

Before After

Summary by CodeRabbit

  • 新機能
    • Android、iOS、バックエンド向けのCIワークフローを導入しました。

@tatsutakein tatsutakein requested a review from a team as a code owner December 25, 2023 15:04
Copy link

coderabbitai bot commented Dec 25, 2023

Warning

Rate Limit Exceeded

@tatsutakein has exceeded the limit for the number of files or commits that can be reviewed per hour. Please wait 0 minutes and 52 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.

Commits Files that changed from the base of the PR and between 41f97a8 and 479d589.

ウォークスルー

この変更では、Android、iOS、およびバックエンド向けのジョブを含むCIワークフローが導入されました。メインブランチに対するプルリクエストの同時実行制御が設定され、コードのチェックアウト、Javaのセットアップ、テストの実行、および各プラットフォームのコンポーネントのビルドが含まれています。

変更

ファイル 変更概要
.github/workflows/ci.yml CIワークフローを導入し、Android、iOS、およびバックエンド向けのジョブを設定。プルリクエストに対する同時実行制御を追加。

🐰
コードが飛び交う空の下、
ビルドは静かに躍り出る。
テストの緑、成功の証、
新しい旅が始まる。

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • You can directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
  • You can tag CodeRabbit on specific lines of code or entire files in the PR by tagging @coderabbitai in a comment. Examples:
    • @coderabbitai generate unit tests for this file
    • @coderabbitai modularize this function
  • You can tag @coderabbitai in a PR comment and ask questions about the PR and the codebase. Use quoted replies to pass the context for follow-up questions. Examples:
    • @coderabbitai gather interesting statistics about this repository and render them in a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai generate unit tests for the src/utils.ts file.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 01072d0 and 34780f7.
Files selected for processing (1)
  • .github/workflows/ci.yml (1 hunks)
Additional comments: 4
.github/workflows/ci.yml (4)
  • 1-11: 新しいCIワークフローの名前とトリガーイベントが設定されており、mainブランチへのプルリクエストで動作するようになっています。また、同じPRに対する現在または以前のジョブをキャンセルするためのconcurrency設定が追加されています。これにより、CIの実行が効率化されます。

  • 13-33: Androidジョブには、コードのチェックアウト、Javaのセットアップ、Gradleのセットアップ、ユニットテストの実行、ビルドのステップが含まれています。actions/checkout@v4を使用しており、lfstrueに設定されている点が適切です。Javaのバージョンも17と指定されており、Gradleのセットアップも問題ないようです。ユニットテストとビルドのコマンドも適切に設定されています。

  • 35-52: iOSジョブには、Androidジョブと同様のステップが含まれており、iOSフレームワークのビルド、iOSアプリのビルド、iOSユニットテストの実行が追加されています。macos-latestを実行環境として使用し、xcodebuildコマンドを使用してiOSアプリのビルドとテストを行っています。これらのステップも適切に設定されているようです。

  • 54-73: バックエンドジョブには、Androidジョブと同様のステップが含まれており、バックエンド固有のビルドとテストのステップが追加されています。ここでもactions/checkout@v4actions/setup-java@v4が使用されており、Gradleのセットアップとユニットテストのコマンドが適切に設定されています。ただし、GradleのセットアップアクションのバージョンがAndroidジョブのv2.10.0と異なりv2になっています。これは意図的なものか確認が必要です。

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 34780f7 and 753e999.
Files selected for processing (1)
  • .github/workflows/ci.yml (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/ci.yml

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 753e999 and 41f97a8.
Files selected for processing (1)
  • .github/workflows/ci.yml (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/ci.yml

@tatsutakein tatsutakein merged commit 1cedba3 into main Dec 25, 2023
7 checks passed
@tatsutakein tatsutakein deleted the rt/combine-ci-workflow branch December 25, 2023 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant