github-actions-dhall icon indicating copy to clipboard operation
github-actions-dhall copied to clipboard

Typecheck, template and modularize your Github Action definitions with Dhall

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://regadas.dev/github-actions-dhall/package.dhall

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

Examples

  • hello-world.dhall
curl https://regadas.dev/github-actions-dhall/examples/hello-world.dhall | dhall-to-yaml
  • scala.dhall
curl https://regadas.dev/github-actions-dhall/examples/scala.dhall | dhall-to-yaml
  • release-scala.dhall
curl https://regadas.dev/github-actions-dhall/examples/release-scala.dhall | dhall-to-yaml