Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

actionlint

> DevOps
Open source

:octocat: Static checker for GitHub Actions workflow files

4.1K stars0 likes0 views
WebsiteGitHub

About

:octocat: Static checker for GitHub Actions workflow files

actionlint

actionlint is a static checker for GitHub Actions workflow files. Try it online!

Features:

  • Syntax check for workflow files to check unexpected or missing keys following workflow syntax
  • Strong type check for ${{ }} expressions to catch several semantic errors like access to not existing property, type mismatches, ...
  • Actions usage check to check that inputs at with: and outputs in steps.{id}.outputs are correct
  • Reusable workflow check to check inputs/outputs/secrets of reusable workflows and workflow calls
  • shellcheck and pyflakes integrations for scripts at run:
  • Security checks; script injection by untrusted inputs, hard-coded credentials
  • Other several useful checks; glob syntax validation, dependencies check for needs:, runner label validation, cron syntax validation, ...

See the full list of checks done by actionlint.

Example of broken workflow:

…

actionlint reports 7 errors:

…

Quick start

Install actionlint command by downloading the released binary or by Homebrew or by go install. See the installation document for more details like how to manage the command with several package managers or run via Docker container.

go install github.com/rhysd/actionlint/cmd/actionlint@latest

Basically all you need to do is run the actionlint command in your repository. actionlint automatically detects workflows and checks errors. actionlint focuses on finding out mistakes. It tries to catch errors as much as possible and make false positives as minimal as possible.

actionlint

Another option to try actionlint is the online playground. Your browser can run actionlint through WebAssembly.

See the usage document for more details.

Documents

  • Checks: Full list of all checks done by actionlint with example inputs, outputs, and playground links.
  • Installation: Installation instructions. Prebuilt binaries, a Docker image, building from source, a download script (for CI), supports by several package managers are available.
  • Usage: How to use actionlint command locally or on GitHub Actions, the online playground, an official Docker image, and integrations with reviewdog, Problem Matchers, super-linter, pre-commit, VS Code.
  • Configuration: How to configure actionlint behavior. Currently, the labels of self-hosted runners, the configuration variables, and ignore patterns of errors for each file paths can be set.
  • Go API: How to use actionlint as Go library.
  • References: Links to resources.

Bug reporting

When you see some bugs or false positives, it is helpful to file a new issue with a minimal example of input. Giving me some feedbacks like feature requests or ideas of additional checks is also welcome.

See the contribution guide for more details.

License

actionlint is distributed under the MIT license.

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •Syntax check for workflow files to check unexpected or missing keys following [workflow syntax][syntax-doc]
  • •Strong type check for ${{ }} expressions to catch several semantic errors like access to not existing property,
  • •Actions usage check to check that inputs at with: and outputs in steps.{id}.outputs are correct
  • •Reusable workflow check to check inputs/outputs/secrets of reusable workflows and workflow calls
  • •[shellcheck][] and [pyflakes][] integrations for scripts at run:
  • •Security checks; [script injection][script-injection-doc] by untrusted inputs, hard-coded credentials
  • •Other several useful checks; [glob syntax][filter-pattern-doc] validation, dependencies check for needs:,
  • •[Checks][checks]: Full list of all checks done by actionlint with example inputs, outputs, and playground links.
  • •[Installation][install]: Installation instructions. Prebuilt binaries, a Docker image, building from source, a download script
  • •[Usage][usage]: How to use actionlint command locally or on GitHub Actions, the online playground, an official Docker image,

> Tags

Goactionscigithub-actionslint

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理