Skip to content

Guides

How to use matrix builds well

The matrix has grown and nobody remembers why each combination exists.

5 min read

The matrix has grown and nobody remembers why each combination exists.

Why it happens

Matrices multiply, so three dimensions quietly become dozens of jobs.

How to fix it

  1. Use include to add specific meaningful combinations rather than a full product
  2. Use exclude to remove combinations that cannot occur in production
  3. Review the matrix quarterly against what you actually support
  4. Turn off fail-fast only while debugging

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.