Skip to content

Commit

Permalink
move format step into macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
shnewto committed Nov 11, 2023
1 parent 598b817 commit a411a49
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@ on:
push:

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
- run: elm-format src --validate

macos-latest-stable:
needs: [format]
runs-on: macos-latest
steps:
- name: setup elm
Expand All @@ -28,6 +19,12 @@ jobs:
- name: build docs
run: |
elm make --docs=docs.json
- name: install elm-format
run: |
npm install elm-format
- name: format
run: |
./node_modules/elm-test/bin/elm-format src --validate
- name: install elm-test
run: |
npm install elm-test
Expand All @@ -37,7 +34,6 @@ jobs:
windows-latest-stable:
needs: [format]
runs-on: windows-latest
steps:
- name: setup elm
Expand All @@ -47,9 +43,6 @@ jobs:
- name: build
run: |
elm make
- name: build docs
run: |
elm make --docs=docs.json
- name: install elm-test
run: |
npm install elm-test
Expand All @@ -58,7 +51,6 @@ jobs:
./node_modules/elm-test/bin/elm-test
windows-latest-nightly:
needs: [format]
runs-on: windows-latest
steps:
- name: setup elm
Expand All @@ -68,9 +60,6 @@ jobs:
- name: build
run: |
elm make
- name: build docs
run: |
elm make --docs=docs.json
- name: install elm-test
run: |
npm install elm-test
Expand All @@ -79,7 +68,6 @@ jobs:
./node_modules/elm-test/bin/elm-test
ubuntu-latest:
needs: [format]
runs-on: ubuntu-latest
steps:
- name: setup elm
Expand All @@ -89,9 +77,6 @@ jobs:
- name: build
run: |
elm make
- name: build docs
run: |
elm make --docs=docs.json
- name: install elm-test
run: |
npm install elm-test
Expand Down

0 comments on commit a411a49

Please sign in to comment.