act
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: With act, you can use the GitHub Actions defined in your .github/workflows/ to replace your Makefile!
https://github.com/nektos/act/
amd64 armhf arm64
Installation
1. Add WakeMeOps repository
curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash
2. Install act
Snippets
Download URLs
Version | SHA256 | Size (KB) |
---|---|---|
0.2.43 | f95dec5b14223a74a0a7b2c804ebe6b92ce716be5b79038c0b885f4e342adb37 |
4188 |
0.2.42 | f433f43d1440bcfc5bd9f4e849504d95c5d7ce09141002b48b2a0f6624198719 |
4186 |
Blueprints
Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for act are versionned here.
Click here to see act ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/act/ops2deb.yml
- name: act
matrix:
architectures:
- amd64
- arm64
- armhf
version: 0.2.42
revision: "2"
homepage: https://github.com/nektos/act/
summary: run your GitHub Actions locally
description: |-
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: With act, you can use the GitHub Actions defined in your
.github/workflows/ to replace your Makefile!
fetch:
url: https://github.com/nektos/act/releases/download/v{{version}}/act_Linux_{{target}}.tar.gz
targets:
amd64: x86_64
armhf: armv7
install:
- act:/usr/bin/act
- name: act
matrix:
architectures:
- amd64
- arm64
- armhf
version: 0.2.43
homepage: https://github.com/nektos/act/
summary: run your GitHub Actions locally
description: |-
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: With act, you can use the GitHub Actions defined in your
.github/workflows/ to replace your Makefile!
fetch:
url: https://github.com/nektos/act/releases/download/v{{version}}/act_Linux_{{target}}.tar.gz
targets:
amd64: x86_64
armhf: armv7
install:
- act:/usr/bin/act
The blueprint fetch
keyword contains a URL template pointing to act releases. Downloaded files are locked in a lockfile versionned here.
Click here to see act release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/act/ops2deb.lock.yml
- url: https://github.com/nektos/act/releases/download/v0.2.42/act_Linux_arm64.tar.gz
sha256: c30b2e0b5a271df6612399adb2ff8523aa1d009fd1c72040df1f8418fc5f724a
timestamp: 2023-02-06 14:00:37+00:00
- url: https://github.com/nektos/act/releases/download/v0.2.42/act_Linux_armv7.tar.gz
sha256: 5445987ef19d635c75cec5f2f91dda60db0fea6a8255145d55f1970772789c41
timestamp: 2023-02-06 14:00:37+00:00
- url: https://github.com/nektos/act/releases/download/v0.2.42/act_Linux_x86_64.tar.gz
sha256: 416c6856a2416d8524145c96fa9af7393ceffcadf93238d739a278048fbca9db
timestamp: 2023-02-06 14:00:37+00:00
- url: https://github.com/nektos/act/releases/download/v0.2.43/act_Linux_arm64.tar.gz
sha256: e178638155de8ee744d76b0a43610a98d708c5e4b511c5c55f81b7b2d72366ed
timestamp: 2023-03-01 04:31:11+00:00
- url: https://github.com/nektos/act/releases/download/v0.2.43/act_Linux_armv7.tar.gz
sha256: 0c37210d2ebfd60d3bc80b9c9776f62ff5d3db13ba9d05d657039628e9ba26cc
timestamp: 2023-03-01 04:31:11+00:00
- url: https://github.com/nektos/act/releases/download/v0.2.43/act_Linux_x86_64.tar.gz
sha256: a4efce98a214f35d8e4a04bda0eaeda4a84e1b39e5a53f5642f976b54a8c0bf3
timestamp: 2023-03-01 04:31:11+00:00