actionlint
actionlint — lint GitHub Actions workflows before they run
actionlint (rhysd/actionlint, MIT) is a single static
Go binary that checks GitHub Actions workflow YAML: expression syntax and types, matrix and
needs property references, runs-on labels, with: inputs, deprecated workflow commands,
schedule cron strings, and basic YAML structure. It integrates optional shellcheck (for
run: shell scripts) and pyflakes (for shell: python steps). It is offline-friendly —
runner labels and a popular-actions metadata database are bundled, no API round-trip. Every
behavior below was measured live against actionlint 1.7.12 on Linux; flags are quoted from
actionlint --help. Runner-label lists and metadata evolve per release — re-check --help
after upgrading.
Install
Pin a release tarball (this exact binary is what the measurements below come from):