Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/regadas/github-actions-dhall
Typecheck, template and modularize your Github Action definitions with Dhall
https://github.com/regadas/github-actions-dhall
dhall dhall-lang github-actions yaml
Last synced: 6 days ago
JSON representation
Typecheck, template and modularize your Github Action definitions with Dhall
- Host: GitHub
- URL: https://github.com/regadas/github-actions-dhall
- Owner: regadas
- License: mit
- Created: 2020-04-19T14:40:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-05T02:30:07.000Z (2 months ago)
- Last Synced: 2024-10-31T17:51:54.884Z (13 days ago)
- Topics: dhall, dhall-lang, github-actions, yaml
- Language: Dhall
- Homepage: https://regadas.dev/github-actions-dhall
- Size: 190 KB
- Stars: 113
- Watchers: 4
- Forks: 25
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dhall - regadas/github-actions-dhall - Typecheck, template and modularize your GitHub Action definitions with Dhall. (Libraries)
README
# github-actions-dhall
Typecheck, template and modularize your Github Action definitions with [Dhall](https://github.com/dhall-lang).
## Usage
Import the `github actions` definitions as a `Dhall` package using:
```js
let GithubActions =
https://regadas.dev/github-actions-dhall/package.dhall
```[Workflow](types/Workflow.dhall) definition can be done by using the schema pattern and setting the appropriate values.
## Examples
- [hello-world.dhall](examples/hello-world.dhall)
```bash
curl https://regadas.dev/github-actions-dhall/examples/hello-world.dhall | dhall-to-yaml
```- [scala.dhall](examples/scala.dhall)
```bash
curl https://regadas.dev/github-actions-dhall/examples/scala.dhall | dhall-to-yaml
```- [release-scala.dhall](examples/release-scala.dhall)
```bash
curl https://regadas.dev/github-actions-dhall/examples/release-scala.dhall | dhall-to-yaml
```