Job Matrix - CI/CD 用語集の定義
job matrix とは、単一の job を複数の並列 job に展開する strategy.matrix の定義で、列挙した変数(例えば OS と言語のバージョン)の組み合わせごとに 1 つずつ生成します。
展開の仕組み
os: [ubuntu-latest, windows-latest] と node: [18, 20] の matrix は 4 つの job を生成します。各組み合わせは ${{ matrix.os }} と ${{ matrix.node }} として公開されます。1 つが失敗してもすべての組み合わせを完了させるには strategy.fail-fast: false を設定します。
関連ガイド
Matrix Build - CI/CD Glossary DefinitionMatrix Build: A **matrix build** expands one job into many parallel jobs across combinations of variables (ve…
Concurrency Group - CI/CD Glossary DefinitionConcurrency Group: A concurrency group is a key set with `concurrency.group` that limits a workflow (or job)…
Reusable Workflow - CI/CD Glossary DefinitionReusable Workflow: A reusable workflow is a complete workflow file that other workflows can call with `uses:`…