From 0e94ae8987ef3eb0f61254f88ac96ce6922b0c8d Mon Sep 17 00:00:00 2001 From: Mingyuan Wu Date: Sat, 29 Nov 2025 20:54:04 +0800 Subject: [PATCH] [GHA] Update jdks --- .github/workflows/ci.yaml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/coveralls.yaml | 2 +- .github/workflows/site.yaml | 2 +- .github/workflows/sonar.yaml | 2 +- .github/workflows/sonatype.yaml | 2 +- .github/workflows/support.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ca52873..3e39de47 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: matrix: cache: [maven] distribution: [temurin] - java: [17, 21, 24, 25-ea] + java: [17, 21, 25, 26-ea] os: [ubuntu-latest, macos-latest, windows-latest] fail-fast: false max-parallel: 4 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2e02f784..35a68c82 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -32,7 +32,7 @@ jobs: with: cache: maven distribution: 'temurin' - java-version: 21 + java-version: 25 - name: Initialize CodeQL uses: github/codeql-action/init@v4 diff --git a/.github/workflows/coveralls.yaml b/.github/workflows/coveralls.yaml index de596cfd..8d2936f1 100644 --- a/.github/workflows/coveralls.yaml +++ b/.github/workflows/coveralls.yaml @@ -15,7 +15,7 @@ jobs: with: cache: maven distribution: temurin - java-version: 21 + java-version: 25 - name: Report Coverage to Coveralls for Pull Requests if: github.event_name == 'pull_request' run: ./mvnw -B -V test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER --no-transfer-progress diff --git a/.github/workflows/site.yaml b/.github/workflows/site.yaml index 12a6b3fe..0e82b926 100644 --- a/.github/workflows/site.yaml +++ b/.github/workflows/site.yaml @@ -19,7 +19,7 @@ jobs: with: cache: maven distribution: temurin - java-version: 21 + java-version: 25 - name: Build site run: ./mvnw site site:stage -DskipTests -Dlicense.skip=true -B -V --no-transfer-progress --settings ./.mvn/settings.xml env: diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index e417e1f1..76ade2d7 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -21,7 +21,7 @@ jobs: with: cache: maven distribution: temurin - java-version: 21 + java-version: 25 - name: Analyze with SonarCloud run: ./mvnw verify jacoco:report sonar:sonar -B -V -Dsonar.projectKey=mybatis_spring-boot-starter -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=$SONAR_TOKEN -Dlicense.skip=true --no-transfer-progress env: diff --git a/.github/workflows/sonatype.yaml b/.github/workflows/sonatype.yaml index 57788412..3ca963c3 100644 --- a/.github/workflows/sonatype.yaml +++ b/.github/workflows/sonatype.yaml @@ -18,7 +18,7 @@ jobs: with: cache: maven distribution: temurin - java-version: 21 + java-version: 25 - name: Deploy to Sonatype run: ./mvnw deploy -DskipTests -B -V --no-transfer-progress --settings ./.mvn/settings.xml -Dlicense.skip=true env: diff --git a/.github/workflows/support.yaml b/.github/workflows/support.yaml index e016d2eb..21954a94 100644 --- a/.github/workflows/support.yaml +++ b/.github/workflows/support.yaml @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - java: [17, 21] + java: [17, 21, 25] distribution: ['zulu'] fail-fast: false max-parallel: 5