summaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorJack Koenig2022-01-10 10:42:11 -0800
committerJack Koenig2022-01-10 15:53:55 -0800
commitbff8dc0738adafa1176f6959a33ad86f6373c558 (patch)
tree4b4766347c3943d65c13e5de2d139b14821eec61 /.github/workflows/test.yml
parent3131c0daad41dea78bede4517669e376c41a325a (diff)
Enable scalafmt in CI
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 71be8c09..dc7376a3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -43,6 +43,9 @@ jobs:
java-version: ${{ matrix.jvm }}
- name: Cache Scala
uses: coursier/cache-action@v5
+ - name: Check Formatting (Scala 2.12 only)
+ if: startsWith(matrix.scala, '2.12')
+ run: sbt ++${{ matrix.scala }} scalafmtCheckAll
- name: Documentation (Scala 2.12 only)
if: startsWith(matrix.scala, '2.12')
run: sbt ++${{ matrix.scala }} docs/mdoc unidoc