From 3b8663fee15baf13ad16197d3cb6dfb540daa7c3 Mon Sep 17 00:00:00 2001 From: Joakim Taule Kartveit Date: Tue, 15 Oct 2024 10:49:49 +0200 Subject: [PATCH] chore: replacedgradle/wrapper-validation-action with gradle/actions/wrapper-validation (#101) --- .github/workflows/build_pr.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_pr.yaml b/.github/workflows/build_pr.yaml index 4bb9901..a97f3db 100644 --- a/.github/workflows/build_pr.yaml +++ b/.github/workflows/build_pr.yaml @@ -19,17 +19,9 @@ jobs: with: java-version: 21 distribution: 'temurin' + cache: 'gradle' - name: Gradle wrapper validation - uses: gradle/wrapper-validation-action@v3 - - name: Setup gradle dependency cache - uses: actions/cache@v4 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/.*gradle*') }} - restore-keys: | - ${{ runner.os }}-gradle- + uses: gradle/actions/wrapper-validation@v4 - name: Build run: ./gradlew build env: