diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 71be8c09e2c..dc7376a39af 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