From 7bfc8503e2eabec17c01489e051f7857eedba9c7 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 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58e1e69..1251a51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,14 +11,13 @@ 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 + - 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' + - uses: gradle/wrapper-validation-action@v3 - name: Build with Gradle run: ./gradlew clean build - name: Upload coverage report to CodeCov @@ -29,7 +28,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: |