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: