diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56886bd..c5db8ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,11 +30,11 @@ jobs: steps: # Pinned 1.0.0 version - uses: haya14busa/action-workflow_run-status@967ed83efa565c257675ed70cfe5231f062ddd94 - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3 with: ref: ${{ github.event.workflow_run.head_branch }} - name: Cache - uses: actions/cache@v2.1.3 + uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }} @@ -43,7 +43,7 @@ jobs: - name: Build with Maven run: mvn clean test -U -fae -T 2 -B -V -DcloudBuild -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 - name: Archive build artifacts - uses: actions/upload-artifact@v2.2.2 + uses: actions/upload-artifact@v3 if: always() with: name: Build debug files @@ -51,10 +51,12 @@ jobs: **/target/rat.txt **/target/surefire-reports/* - name: Surefire Report - # Pinned 1.0.5 version - uses: ScaCap/action-surefire-report@ad808943e6bfbd2e6acba7c53fdb5c89534da533 + # Pinned 3.5.2 version + uses: mikepenz/action-junit-report@16a9560bd02f11e7e3bf6b3e2ef6bba6c9d07c32 if: always() with: - # GITHUB_TOKEN + report_paths: '**/target/surefire-reports/TEST-*.xml' github_token: ${{ secrets.GITHUB_TOKEN }} - commit: ${{ github.event.workflow_run.head_branch }} + detailed_summary: true + commit: ${{ github.event.workflow_run.head_sha }} + check_name: Test Report