fix Ci elm-format #3
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 CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: jorelali/setup-elm@v1 | |
with: | |
elm-version: 0.19.1 | |
- name: Compile Elm | |
run: elm make src/*.elm | |
- name: Run elm-format | |
run: npx elm-format --validate . | |
- name: Run elm-tests | |
run: yarn test |