Skip to content

Workflows

Build matrix

Quick answer

A build matrix is a GitHub Actions feature that expands one job definition into many parallel jobs across combinations of variables such as OS and language version.

A build matrix is a GitHub Actions feature that expands one job definition into many parallel jobs across combinations of variables such as OS and language version.

Why it matters

Matrices are the fastest way to add parallelism and the fastest way to accidentally multiply your bill — three OSes by four versions by two architectures is 24 jobs.

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.