Welcome to Act! This tool allows you to run your GitHub Actions locally, making it easier to test and debug your workflows before pushing them to your repository. With Act, you can save time and reduce errors in your CI/CD process.
For the latest releases, visit this link. Download the necessary files and execute them to get started.
- Local Testing: Run your GitHub Actions on your local machine.
- Fast Feedback: Get immediate results without waiting for the cloud.
- Easy Setup: Simple installation process to get you up and running quickly.
- Golang Support: Built with Go, ensuring performance and efficiency.
- Community Driven: Open-source contributions welcome!
To install Act, follow these steps:
- Download the latest release from this link. Choose the appropriate file for your operating system.
- Extract the files to a directory of your choice.
- Add the directory to your PATH so you can run Act from anywhere in your terminal.
For example, if you are using macOS or Linux, you can add the following line to your .bashrc or .zshrc:
export PATH=$PATH:/path/to/actAfter updating your PATH, run the following command to verify the installation:
act --versionOnce you have installed Act, you can start using it to run your GitHub Actions locally.
To run your GitHub Actions, navigate to your repository directory in the terminal and use:
actThis command will execute the default workflow defined in your .github/workflows directory.
You can also run specific events by specifying the event name:
act pushThis command simulates a push event.
If your workflows require environment variables, you can set them directly in the command line:
act -e event.jsonAct uses Docker to run your workflows. Make sure you have Docker installed and running. You can customize the Docker image used by specifying the --image flag:
act --image my-custom-imageIf you encounter issues, you can run Act in verbose mode to get more detailed logs:
act --verboseContributions are welcome! If you would like to contribute to Act, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear messages.
- Push your branch and open a pull request.
Please ensure your code adheres to the project's coding standards and includes tests where applicable.
Act is licensed under the MIT License. See the LICENSE file for more information.
For support, check the "Releases" section for updates or open an issue in the repository. You can also visit this link for the latest releases.
Thank you for using Act! We hope it enhances your workflow and improves your development process.