Typecheck, template and modularize your Github Action definitions with Dhall.
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.
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
If you make any changes in this Dhall repository, run make freeze
on the command line to update
all the checksums, and then ask yourself what you're doing with your life.