From 6e8fbdf8496798e0b1d0e14af7d16d01c6564922 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Wed, 8 Mar 2023 15:55:23 +0100 Subject: Package "act" GitHub workflow runner --- tw/packages/ci.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'tw/packages/ci.scm') diff --git a/tw/packages/ci.scm b/tw/packages/ci.scm index 6f2c5f9d..1b118c4c 100644 --- a/tw/packages/ci.scm +++ b/tw/packages/ci.scm @@ -128,3 +128,28 @@ native Consul and Vault integrations.") HashiCorp Nomad jobs that provides realtime feedback and detailed failure messages upon deployment issues.") (license license:mpl2.0))) + +(define-public act-bin + (package + (name "act") + (version "0.2.43") + (home-page "https://github.com/nektos/act") + (source + (origin + (method url-fetch/tarbomb) + (uri (string-append home-page "/releases/download/v" + version "/act_Linux_x86_64.tar.gz")) + (sha256 (base32 "1wqbii5baxpr89b3z9g574dlxa54xpma1g849a75vwqllaccxvx4")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("act" "bin/")))) + (synopsis "Run your GitHub Actions locally") + (description "When you run act it reads in your GitHub Actions from +@samp{.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.") + (license license:expat))) -- cgit v1.2.3