Run your GitHub Actions locally
open sourceMITself-hostablefree
act runs GitHub Actions workflows on your own machine. It reads .github/workflows/, works out which jobs and actions to run, and uses Docker to pull or build the images and run each step in a container with the environment variables and filesystem GitHub provides. It gives fast feedback on workflow changes without pushing, and lets a repository's workflows double as a local task runner.
Ways to install
Package managers
Problems it solves
- I keep pushing commits just to test a change to my GitHub Actions workflow
- debug a failing GitHub Actions job on my laptop
- run the CI steps locally before opening a pull request
- reuse my GitHub workflows as local build commands instead of a Makefile
- test a custom GitHub Action without publishing it
Features
- runs workflows in Docker
- event payloads
- secrets and env files
- job selection
- VS Code extension (community)
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what act does.
- gh-signoff Local CI. Sign off on your own work.
