restore formatting for passing actions #8
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: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
macos-latest: | |
runs-on: macos-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: install elm | |
run: | | |
npm install -g elm | |
- name: build | |
run: | | |
elm make | |
- name: build docs | |
run: | | |
elm make --docs=docs.json | |
- name: install elm-format | |
run: | | |
npm install -g elm-format | |
- name: format | |
run: | | |
elm-format src --validate | |
- name: install elm-test | |
run: | | |
npm install -g elm-test | |
- name: test | |
run: | | |
elm-test | |
windows-latest: | |
runs-on: windows-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: install elm | |
run: | | |
npm install -g elm | |
- name: build | |
run: | | |
elm make | |
- name: install elm-test | |
run: | | |
npm install -g elm-test | |
- name: test | |
run: | | |
elm-test | |
ubuntu-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: install elm | |
run: | | |
npm install -g elm | |
- name: build | |
run: | | |
elm make | |
- name: install elm-test | |
run: | | |
npm install -g elm-test | |
- name: test | |
run: | | |
elm-test |