DEV Community

Cover image for How to Run Github Actions Locally??
Prasanth Bupd
Prasanth Bupd

Posted on

How to Run Github Actions Locally??

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

  1. Install Act
    Follow instructions on act’s official repo to install it on your system.

  2. Run Your Workflows
    Inside your project, run:

act
Enter fullscreen mode Exit fullscreen mode

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

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.