diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d85c3c361..bbfc48aeb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,6 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + # Spotless requires JDK 17+ + - uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: temurin - name: Spotless Check run: ./gradlew spotlessCheck build: @@ -41,7 +46,7 @@ jobs: - uses: actions/checkout@v4 - name: Build and Run Tests run: | - ./gradlew check + ./gradlew check -x spotlessJava - name: Upload Coverage Report if: matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v3