diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index c28a17f1..4e2ec3f8 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -19,6 +19,11 @@ jobs: - name: Cache Gradle uses: burrunan/gradle-cache-action@v1 + - name: Spotless Check + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: ./gradlew spotlessCheck --no-daemon + - name: Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/spotless.yml b/.github/workflows/spotless.yml deleted file mode 100644 index bd55bd23..00000000 --- a/.github/workflows/spotless.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Spotless Check - -on: - pull_request: - branches: - - dev - -jobs: - release: - name: Build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Cache Gradle - uses: burrunan/gradle-cache-action@v3 - - - name: Check - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew spotlessCheck --no-daemon