Skip to content

Add approaches for Leap #696

Add approaches for Leap

Add approaches for Leap #696

Workflow file for this run

name: elm / pr
on:
pull_request:
push:
branches: [main]
jobs:
ci:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- name: Checkout PR
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
with:
node-version: ${{ matrix.node-version }}
- name: Install elm + tools and cache the ELM_HOME directory
uses: mpizenberg/elm-tooling-action@913c4c779e2dbf757453839a6df89917f71d7cf9
with:
cache-key: elm-${{ matrix.node-version }}-${{ hashFiles('elm-tooling.json', 'template/elm.json') }}
cache-restore-key: elm-${{ matrix.node-version }}
- name: Check that everything is alright
run: bin/build.sh
elm-test-runner:
runs-on: ubuntu-22.04
steps:
- name: Checkout exercism/elm
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run tests for all exercises
run: bin/run-all-exercises-in-docker.sh
elm-analyzer:
runs-on: ubuntu-22.04
steps:
- name: Checkout exercism/elm
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run tests for all exercises
run: bin/analyze-all-exercises-in-docker.sh