From 63ad5b2c5cac1ef8a697663ec6cbf633f517ea82 Mon Sep 17 00:00:00 2001 From: Michael Dombrowski Date: Thu, 4 Apr 2024 12:52:40 -0400 Subject: [PATCH] ci: upgrade github actions --- .github/workflows/maven.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d814b00..8ef1449 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -14,7 +14,7 @@ jobs: matrix: java: ['8', '11'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: wagoid/commitlint-github-action@v4 @@ -33,13 +33,13 @@ jobs: sudo -E mvn -ntp -U clean verify sudo chown -R runner target - name: Upload Failed Test Report - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v3 if: failure() with: name: Failed Test Report path: target/surefire-reports - name: Upload Coverage - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v3 if: always() with: name: Coverage Report @@ -47,7 +47,7 @@ jobs: - name: Convert Jacoco unit test report to Cobertura run: python3 .github/scripts/cover2cover.py target/jacoco-report/jacoco.xml src/main/java > target/jacoco-report/cobertura.xml - name: cobertura-report-unit-test - uses: shaguptashaikh/cobertura-action@master + uses: 5monkeys/cobertura-action@v14 continue-on-error: true with: # The GITHUB_TOKEN for this repo @@ -66,3 +66,4 @@ jobs: show_class_names: true # Use a unique name for the report and comment report_name: Unit Tests Coverage Report + only_changed_files: true