diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 1cdc1d144..246f6a7f1 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -6,35 +6,5 @@ on: - main jobs: - build: - - runs-on: ubuntu-latest - - steps: - - - uses: actions/checkout@v4 - with: - show-progress: false - - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: adopt - java-version: 17 - cache: gradle - - - name: Build PR - uses: burrunan/gradle-cache-action@v1 - with: - debug: false - concurrent: true - gradle-build-scan-report: false - arguments: check - - - name: Capture Test Results - if: failure() - uses: actions/upload-artifact@v3 - with: - name: test-results - path: '*/build/reports/tests/**/*.*' - retention-days: 3 + build-pull-request: + uses: artembilan/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@main