Interview Prep/GitHub Actions/Jobs, Steps, Matrix & Concurrency

What do `fail-fast` and `max-parallel` do?

BeginnerConceptJobs, Steps, Matrix & Concurrency
Answer

fail-fast (default true) cancels the remaining in-progress and queued matrix jobs as soon as one fails. Set it to false when you want the full picture, for example to see if a failure is only on Windows. max-parallel caps how many matrix jobs run at once, useful for self-hosted capacity or for tests that hit a shared rate-limited resource.

All GitHub Actions questions Roadmap: GitHub Actions

More on Jobs, Steps, Matrix & Concurrency