From d86a147b19066dd5e54a8c3f6a0ea5821277b946 Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Thu, 2 May 2024 21:53:57 +0000 Subject: [PATCH] Update codecov. --- .github/workflows/main.linux.temurin.current.yml | 8 ++++---- .github/workflows/main.linux.temurin.lts.yml | 9 +++++---- .github/workflows/main.windows.temurin.current.yml | 8 ++++---- .github/workflows/main.windows.temurin.lts.yml | 6 +++--- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.linux.temurin.current.yml b/.github/workflows/main.linux.temurin.current.yml index 9c288c4..3d158b7 100644 --- a/.github/workflows/main.linux.temurin.current.yml +++ b/.github/workflows/main.linux.temurin.current.yml @@ -10,16 +10,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: - java-version: 21 + java-version: 22 distribution: 'temurin' - name: Build run: mvn --errors clean verify site - name: Upload test logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-logs diff --git a/.github/workflows/main.linux.temurin.lts.yml b/.github/workflows/main.linux.temurin.lts.yml index e8a5824..edc4f05 100644 --- a/.github/workflows/main.linux.temurin.lts.yml +++ b/.github/workflows/main.linux.temurin.lts.yml @@ -10,21 +10,22 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 21 distribution: 'temurin' - name: Build run: mvn --errors clean verify site - name: Upload test logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-logs path: ./com.io7m.quarrel.tests/target/surefire-reports - name: Coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4.3.1 with: + token: ${{ secrets.CODECOV_TOKEN }} file: com.io7m.quarrel.tests/target/site/jacoco-aggregate/jacoco.xml diff --git a/.github/workflows/main.windows.temurin.current.yml b/.github/workflows/main.windows.temurin.current.yml index 7b9b9bc..4c25d59 100644 --- a/.github/workflows/main.windows.temurin.current.yml +++ b/.github/workflows/main.windows.temurin.current.yml @@ -10,16 +10,16 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: - java-version: 21 + java-version: 22 distribution: 'temurin' - name: Build run: mvn --errors clean verify site - name: Upload test logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-logs diff --git a/.github/workflows/main.windows.temurin.lts.yml b/.github/workflows/main.windows.temurin.lts.yml index 63e8497..5fda4c0 100644 --- a/.github/workflows/main.windows.temurin.lts.yml +++ b/.github/workflows/main.windows.temurin.lts.yml @@ -10,16 +10,16 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 21 distribution: 'temurin' - name: Build run: mvn --errors clean verify site - name: Upload test logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-logs