A runner for Gitea based on act.
Go to file
ChristopherHX 1dc7a4d269
feat: allow ctx overlay + case sensitive env ctx (#99)
* switch to fork of actionlint
2025-05-18 11:35:05 +02:00
.github build(deps): bump megalinter/megalinter in the dependencies group (#101) 2025-05-03 09:21:39 +00:00
.vscode
cmd core(deps): bump golang-cilint to v2.0.2 (#83) 2025-04-25 21:58:30 +02:00
pkg feat: allow ctx overlay + case sensitive env ctx (#99) 2025-05-18 11:35:05 +02:00
.codespellrc
.editorconfig
.gitignore
.gitleaksignore Update .gitleaksignore (#25) 2025-01-29 18:57:08 +01:00
.golangci.yml core(deps): bump golang-cilint to v2.0.2 (#83) 2025-04-25 21:58:30 +02:00
.goreleaser.yml Use act as bin name (#22) 2025-01-29 17:22:24 +01:00
.markdownlint.yml
.mega-linter.yml
.mergify.yml ci(mergify): upgrade configuration to current format (#2547) 2024-12-25 02:00:07 +00:00
.prettierignore
.prettierrc.yml
CODEOWNERS
CONTRIBUTING.md Update Readme and issue templates (#40) 2025-01-31 17:54:54 +01:00
LICENSE
Makefile chore: upgrade dependencies (#2589) 2024-12-24 13:12:24 -08:00
README.md Update Readme and issue templates (#40) 2025-01-31 17:54:54 +01:00
VERIFICATION
VERSION bumo VERSION (#77) 2025-03-29 13:52:48 +01:00
act-cli.nuspec
codecov.yml Actions Artifacts v4 backend (#2224) 2024-05-20 20:00:04 +00:00
go.mod feat: allow ctx overlay + case sensitive env ctx (#99) 2025-05-18 11:35:05 +02:00
go.sum feat: allow ctx overlay + case sensitive env ctx (#99) 2025-05-18 11:35:05 +02:00
install.sh feat: Adding in logic to check if act needs to be downloaded (#2575) 2024-12-25 01:43:09 +00:00
main.go feat: Support graceful job step cancellation (#69) 2025-03-29 12:27:36 +01:00
main_test.go feat: Support graceful job step cancellation (#69) 2025-03-29 12:27:36 +01:00

README.md

act-logo

Overview

"Think globally, act locally"

Run your GitHub Actions locally! Why would you want to do this? Two reasons:

  • Fast Feedback - Rather than having to commit/push every time you want to test out the changes you are making to your .github/workflows/ files (or for any changes to embedded GitHub actions), you can use act to run the actions locally. The environment variables and filesystem are all configured to match what GitHub provides.
  • Local Task Runner - I love make. However, I also hate repeating myself. With act, you can use the GitHub Actions defined in your .github/workflows/ to replace your Makefile!

[!TIP] Now Manage and Run Act Directly From VS Code!
Check out the GitHub Local Actions Visual Studio Code extension which allows you to leverage the power of act to run and test workflows locally without leaving your editor.

How Does It Work?

When you run act it reads in your GitHub Actions from .github/workflows/ and determines the set of actions that need to be run. It uses the Docker API to either pull or build the necessary images, as defined in your workflow files and finally determines the execution path based on the dependencies that were defined. Once it has the execution path, it then uses the Docker API to run containers for each action based on the images prepared earlier. The environment variables and filesystem are all configured to match what GitHub provides.

Let's see it in action with a sample repo!

Demo

Act User Guide

Please look at the act user guide for more documentation.

Support

Need help? Ask on Discussions!

Contributing

Want to contribute to act? Awesome! Check out the contributing guidelines to get involved.

Manually building from source

  • Install Go tools 1.23+ - (https://golang.org/doc/install)
  • Clone this repo git clone git@github.com:actions-oss/act-cli.git
  • Run unit tests with make test
  • Build and install: make install