Skip to content

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!

devops

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

sudo apt install act

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    act=0.2.43*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      act=0.2.43*

Download URLs

Version SHA256 Size (KB)
0.2.43 f95dec5b14223a74a0a7b2c804ebe6b92ce716be5b79038c0b885f4e342adb37 4188
0.2.42 f433f43d1440bcfc5bd9f4e849504d95c5d7ce09141002b48b2a0f6624198719 4186
Version SHA256 Size (KB)
0.2.43 a80829f3277afcefa7a6f8d07df106c40ac94b57ebdc0e3dc40f2d830d53fda2 3586
0.2.42 cd4adeca6f8b4e8bfa174ec93ac21b6e2316db2bb48724581b0818379a0d22a4 3585
Version SHA256 Size (KB)
0.2.43 d687e5197508b6ff106a28ae91b3fb537fdc67aaa421625755bb954a8b0582b5 3632
0.2.42 2e533a9bbf0047f67a2873f5f950a1d27d36af44ba606f729e3d2393eabc0797 3631

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

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/act.svg)](https://docs.wakemeops.com/packages/act)
<a href="https://docs.wakemeops.com/packages/act">
  <img src="https://docs.wakemeops.com/badges/act.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/act.svg
:target: https://docs.wakemeops.com/packages/act