/github-actions-dhall

Typecheck, template and modularize your Github Action definitions with Dhall

Primary LanguageDhallMIT LicenseMIT

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

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