From 3d340cd1e02b64a9cfb98f8df8ce0be79fe91402 Mon Sep 17 00:00:00 2001 From: Saqib Rokadia Date: Sat, 14 Nov 2026 13:54:50 -0800 Subject: [PATCH] Making the spotless check into it's own run so that it's clear when it's only a formatting error. --- .github/workflows/build.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5b2e2441..b03e86c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,10 +45,15 @@ jobs: # Only main writes the cache so PR branches can't pollute it. cache-read-only: ${{ github.ref != 'refs/heads/main' }} - # build = compile + spotlessCheck + checkstyle + tests + JaCoCo report - - name: Build - run: ./gradlew build --stacktrace --console=plain - shell: bash + - parallel: + # build = compile + checkstyle + tests + JaCoCo report + - name: Build + run: ./gradlew build --stacktrace -x spotlessCheck --console=plain + shell: bash + # build = spotlessCheck report + - name: Formatting (Spotless) Only Check + run: ./gradlew spotlessCheck --stacktrace --console=plain + shell: bash - name: Publish test results # The default variant of this action is a Linux-only Docker action; use the Windows one.