Skip to content

Commit

Permalink
Modify CI to run formatting check only on linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
markehammons committed Feb 7, 2023
1 parent f43c6c9 commit a0bbbc2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ on:


jobs:
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: VirtusLab/[email protected]
with:
jvm: temurin:1.17
apps: mill
- run: mill mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources

unit-tests:
strategy:
matrix:
Expand All @@ -21,8 +32,6 @@ jobs:
java-version: |
17
19
- name: Formatting Check
run: ./mill mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources
- name: Core tests
run: |
./mill core.compile
Expand Down

0 comments on commit a0bbbc2

Please sign in to comment.