How to Run Github Actions Locally??
Run GitHub Actions locally with act instead of pushing commits just to debug workflows.
This blog is written to serve people who are looking to run github actions locally for faster developer workflows and not get into the “push and pray” hell. No more 50 commits to make the actions work – simply run GitHub Actions locally!! with act.
If you want to test GitHub Actions without constantly pushing commits, act is the tool you need. It runs your workflows locally, using the same environment GitHub provides, so you get instant feedback and can debug faster.
Steps to Use Act
Install Act Follow instructions on act’s official repo to install it on your system.
Run Your Workflows Inside your project, run:
act
This executes the workflows defined in .github/workflows/ locally.
That’s it. No pushing, no waiting – just run your GitHub Actions locally and get faster feedback.
Links
Originally published at https://dev.to/bupd/how-to-run-github-actions-locally-398c.