From 7367d5c0bf946b42ff44c81bbdcc48844e0617a8 Mon Sep 17 00:00:00 2001 From: Nic Bell Date: Mon, 17 Jun 2024 16:47:57 +0200 Subject: [PATCH] Update Github actions (#86) --- .github/workflows/checks.yml | 10 ++++++---- .github/workflows/publish.yml | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f77c332..03839fd 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -16,11 +16,11 @@ jobs: pull-requests: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' @@ -37,13 +37,15 @@ jobs: - name: Kover dump run: ./gradlew koverDump -q - name: Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./build/reports/kover/report.xml flags: unittests verbose: true - name: Upload reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "**/build/reports/**" retention-days: 7 \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6110789..44a03ac 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,11 +12,11 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin'