A runner for Gitea based on act.
Go to file
dependabot[bot] 41d83e7859
build(deps): bump github.com/docker/docker (#2)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.4.1+incompatible to 27.5.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v27.4.1...v27.5.1)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:26:30 +00:00
.github build(deps): bump goreleaser/goreleaser-action from 5 to 6 (#1) 2025-01-26 13:20:09 +01:00
.vscode fix: update artifact server to address GHSL-2023-004 (#1565) 2023-01-16 21:01:54 +00:00
cmd feat: make use new action cache the new default for downloading actions (#12) 2025-01-26 13:19:25 +01:00
pkg feat: make use new action cache the new default for downloading actions (#12) 2025-01-26 13:19:25 +01:00
.actrc
.codespellrc Add codespell support (config, workflow to detect/not fix) and make it fix few typos (#2296) 2024-04-19 09:22:45 +00:00
.editorconfig
.gitignore
.gitleaksignore
.golangci.yml chore: upgrade dependencies (#2589) 2024-12-24 13:12:24 -08:00
.goreleaser.yml Add riscv64 binary release (#2350) 2024-06-05 14:13:59 +00:00
.markdownlint.yml
.mega-linter.yml feat: add check for newer versions (#1562) 2023-01-15 10:30:41 +00:00
.mergify.yml ci(mergify): upgrade configuration to current format (#2547) 2024-12-25 02:00:07 +00:00
.prettierignore
.prettierrc.yml
CODEOWNERS
CONTRIBUTING.md Mention act user guide in act (#1973) 2023-08-17 14:43:17 +00:00
LICENSE
Makefile chore: upgrade dependencies (#2589) 2024-12-24 13:12:24 -08:00
README.md make ci run in this fork (#9) 2025-01-26 11:20:26 +00:00
VERIFICATION
VERSION chore: bump VERSION to 0.2.71 2025-01-01 02:30:43 +00:00
act-cli.nuspec
codecov.yml Actions Artifacts v4 backend (#2224) 2024-05-20 20:00:04 +00:00
go.mod build(deps): bump github.com/docker/docker (#2) 2025-01-26 12:26:30 +00:00
go.sum build(deps): bump github.com/docker/docker (#2) 2025-01-26 12:26:30 +00: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: add check for newer versions (#1562) 2023-01-15 10:30:41 +00:00

README.md

act-logo

Overview push Join the chat at https://gitter.im/nektos/act Go Report Card awesome-runners

"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.20+ - (https://golang.org/doc/install)
  • Clone this repo git clone git@github.com:nektos/act.git
  • Run unit tests with make test
  • Build and install: make install