Add new practice exercise bank-account
#911
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install elm + tools and cache the ELM_HOME directory | |
uses: mpizenberg/elm-tooling-action@809c844d494c95906eb8cafcfa0060b29193709d | |
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Run tests for all exercises | |
run: bin/analyze-all-exercises-in-docker.sh |