Skip to content

[P2] CI を PR 中心に再設計し外部貢献を受け入れやすくする #50

Description

@tomoikey

[P2] CI を PR 中心に再設計し外部貢献を受け入れやすくする

背景

CI が push のみで pull_request をトリガしていない。
参照: .github/workflows/ci.yml:3

問題

外部コントリビューターは PR 時点で品質ゲート結果を確認しづらい。
レビュー効率と開発体験を下げている。

影響

  • PR ベース開発に不向き
  • 変更の早期検知が遅れる
  • コントリビューション増加を阻害

実装方針

  • pull_request トリガを追加
  • ジョブを最小限並列化(build/test/clippy/fmt)
  • 必要に応じて MSRV + stable matrix を追加

タスク

  1. .github/workflows/ci.yml に pull_request を追加
  2. cargo cache を導入し CI 時間を短縮
  3. feature matrix を追加(Issue 007 と連動)
  4. branch protection 前提の必須チェック名を固定

受け入れ条件 (DoD)

  • PR 作成時に CI が自動起動する
  • fmt / clippy -D warnings / test の結果がPR画面で確認できる
  • main への直接 push 以外でも品質が担保される

参考

  • .github/workflows/ci.yml:1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions