Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
code

GitHub Action

Setup Dhall

v3

Setup Dhall

code

Setup Dhall

Install a Dhall version, including dhall-json, and provide the binary to run commands

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Dhall

uses: dhall-lang/setup-dhall@v3

Learn more about this action in dhall-lang/setup-dhall

Choose a version

setup-dhall

Github action to install a specific version of https://dhall-lang.org.

This will add the following executables to your PATH, making them available for further actions:

  • dhall
  • dhall-to-json
  • dhall-to-yaml
  • json-to-dhall

Note: Currently this only supports the ubuntu- runtimes for actions. See TODO below.

Inputs

version

Optional The version of Dhall to install. Default: latest.

Usage

Basic Example

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: dhall-lang/setup-dhall@v2
      - run: dhall version

With a Specific Version

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: dhall-lang/setup-dhall@v2
        with:
          version: '1.28.0'
      - run: dhall version
      - run: dhall-to-json --version

TODO

  • Add platform validation on action to fail early if a non-ubuntu runner is used
  • Add support for the macOS runner
  • Add support for the Windows runner