aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tw/packages/ci.scm25
1 files changed, 25 insertions, 0 deletions
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)))