Skip to content

Guides

How to debug a failing workflow

A job fails in CI and works everywhere else.

5 min read

A job fails in CI and works everywhere else.

Why it happens

The runner environment differs from local in toolchain versions, available memory, parallelism and locale.

How to fix it

  1. Enable ACTIONS_STEP_DEBUG for verbose runner logs
  2. Open an SSH session on the runner to inspect live state
  3. Print the environment and tool versions at job start
  4. Check for test-order dependence by running with a fixed seed

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.