From df09d268546a09e6dbe1e395520e8af5a6011ed2 Mon Sep 17 00:00:00 2001 From: josealonso Date: Sat, 28 Dec 2024 23:01:42 +0100 Subject: [PATCH] Use latest version of wrapper-validation-action. More info on https://github.com/gradle/wrapper-validation-action --- .github/workflows/java.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index cee0e5099..dde4cf846 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -19,11 +19,16 @@ jobs: with: ref: main - - uses: actions/wrapper-validation-action@v1 - - uses: actions/setup-java@v3 + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: java-version: 17 distribution: "temurin" + + - name: Run gradle tasks only for modified files/exercises - uses: dorny/paths-filter@v3 id: changes with: