Skip to content

Setup Elm environment

Actions
Sets up an Elm environment
v6
Latest
Star (31)

Setup Elm GitHub Action

This action sets up an Elm environment to use with projects requiring Elm. It allows you to use the elm command in your workflow.

This GitHub Action is only compatible with Elm 0.19.0 and onwards (and therefore, incompatible with Elm 0.18.0 and below).

Usage

See action.yml

Basic:

steps:
- uses: jorelali/setup-elm@v6
  with:
    elm-version: 0.19.1
- run: elm make src/Main.elm

Running as root (this won't run sudo when moving the elm binary):

steps:
- uses: jorelali/setup-elm@v6
  with:
    elm-version: 0.19.1
    run-as-root: true
- run: elm make src/Main.elm

This option is useful when the GH Action job is using a custom container running in root, such as the Cypress browser containers. You probably won't use this very often!

License

The scripts and documentation in this project are released under the MIT License

Setup Elm environment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sets up an Elm environment
v6
Latest

Setup Elm environment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.