diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index da93e36..a3a0612 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,6 +28,12 @@ jobs: with: sparse-checkout: 'api' - run: "find ./api -maxdepth 1 -mindepth 1 -exec mv {} . \\; && rm -r ./api" + - name: Check for scalafmt conformance + run: | + curl -fL "https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-pc-linux.gz" | gzip -d > cs + chmod +x cs + cs install scalafmt + ./cs scalafmt --check - name: Setup JDK uses: actions/setup-java@v3 with: