From 35b07da1fb2d3f16ffc685a845ea2d98b102c0b9 Mon Sep 17 00:00:00 2001 From: Nic Munroe Date: Fri, 13 Sep 2024 13:19:40 -0700 Subject: [PATCH] Update GHA workflow --- .github/workflows/build.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58e1e69..4647986 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,14 +11,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 11 distribution: 'temurin' - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b + java-version: '17' + cache: 'gradle' + - name: Validate Gradle Wrapper Checksums + uses: gradle/actions/wrapper-validation@v3 - name: Build with Gradle run: ./gradlew clean build - name: Upload coverage report to CodeCov @@ -29,7 +30,7 @@ jobs: verbose: true token: ${{ secrets.CODECOV_TOKEN }} - name: Upload reports and test results to GitHub - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: reports-and-test-results path: |