Typecheck, template and modularize your Github Action definitions with Dhall.
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.
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