joedevivo / github-actions-dhall

Typecheck, template and modularize your Github Action definitions with Dhall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-actions-dhall

Typecheck, template and modularize your Github Action definitions with Dhall.

Usage

Import the github actions definitions as a Dhall package using:

let GithubActions =
      https://raw.githubusercontent.com/regadas/github-actions-dhall/master/package.dhall

Workflow definition can be done by using the schema pattern and setting the appropriate values.

Examples

curl https://raw.githubusercontent.com/regadas/github-actions-dhall/master/examples/hello-world.dhall | dhall-to-yaml
curl https://raw.githubusercontent.com/regadas/github-actions-dhall/master/examples/scala.dhall | dhall-to-yaml
curl https://raw.githubusercontent.com/regadas/github-actions-dhall/master/examples/release-scala.dhall | dhall-to-yaml

About

Typecheck, template and modularize your Github Action definitions with Dhall


Languages

Language:Dhall 97.4%Language:Makefile 2.6%