A new GitHub action for your CI

Hi all, I’ve just published a GitHub action to let you install elm and other tools supported by elm-tooling.json in your CI, the most “boring” way possible as would say Brian :slight_smile:

This is what using it in your CI config looks like:

  - name: Install elm, elm-format and cache the ELM_HOME directory
    uses: mpizenberg/elm-tooling-action@v1.0
    with:
      cache-key: elm-home-${{ hashFiles('elm-tooling.json', 'elm.json') }}

  - name: Making sure the installation worked
    run: elm --version

And your associated elm-tooling.json would look like this:

{
  "tools": {
    "elm": "0.19.1",
    "elm-format": "0.8.5"
  }
}

More info on the project page:

13 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.