From 568e3cf07820b28388d17c043af2cc0bf5ca7513 Mon Sep 17 00:00:00 2001 From: "fabrizio.scarponi" Date: Wed, 6 Nov 2024 11:32:08 +0100 Subject: [PATCH] Upgrade to JDK 17 in GitHub Actions workflow This change updates the GitHub Actions workflow to use JDK 17 instead of JDK 11. The `setup-java` action is updated accordingly to ensure compatibility with the new JDK version. This should help leverage new features and improvements available in JDK 17. --- .github/workflows/test.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42cc12c4..05daf157 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,10 +20,10 @@ jobs: with: submodules: true - uses: gradle/gradle-build-action@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'temurin' - name: Run GRADLE tests continue-on-error: true @@ -71,10 +71,10 @@ jobs: with: submodules: true - uses: gradle/gradle-build-action@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'temurin' - name: Run MAVEN tests id: simple-build @@ -123,10 +123,10 @@ jobs: with: submodules: true - uses: gradle/gradle-build-action@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'temurin' - name: Run KMP tests id: simple-build @@ -179,10 +179,10 @@ jobs: with: submodules: true - uses: gradle/gradle-build-action@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'temurin' - name: Run VERSION CATALOG tests continue-on-error: true @@ -226,10 +226,10 @@ jobs: with: submodules: true - uses: gradle/gradle-build-action@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'temurin' - name: Run UNIT tests id: simple-build