File tree Expand file tree Collapse file tree 6 files changed +14
-22
lines changed Expand file tree Collapse file tree 6 files changed +14
-22
lines changed Original file line number Diff line number Diff line change 1616 matrix :
1717 cache : [maven]
1818 distribution : [temurin]
19- java : [17, 21, 25, 26-ea]
19+ java : [21, 25, 26-ea]
2020 os : [macos-latest, ubuntu-latest, windows-latest]
2121 fail-fast : false
2222 max-parallel : 6
Original file line number Diff line number Diff line change 2222 contents : read
2323 security-events : write
2424
25- strategy :
26- fail-fast : false
27- matrix :
28- language : [ javascript, java, kotlin ]
29-
3025 steps :
3126 - name : Checkout
3227 uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
@@ -36,18 +31,15 @@ jobs:
3631 with :
3732 cache : maven
3833 distribution : ' temurin'
39- java-version : 21
34+ java-version : 25
4035
4136 - name : Initialize CodeQL
42- uses : github/codeql-action/init@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
37+ uses : github/codeql-action/init@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
4338 with :
44- languages : ${{ matrix.language }}
4539 queries : +security-and-quality
4640
4741 - name : Autobuild
48- uses : github/codeql-action/autobuild@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
42+ uses : github/codeql-action/autobuild@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
4943
5044 - name : Perform CodeQL Analysis
51- uses : github/codeql-action/analyze@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
52- with :
53- category : " /language:${{ matrix.language }}"
45+ uses : github/codeql-action/analyze@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
Original file line number Diff line number Diff line change @@ -20,17 +20,17 @@ jobs:
2020 with :
2121 cache : maven
2222 distribution : temurin
23- java-version : 21
23+ java-version : 25
2424 - name : Run the build
2525 run : ./mvnw test --batch-mode --no-transfer-progress --quiet --show-version -Dlicense.skip=true
2626 - name : Report Coverage to Coveralls for Pull Requests
2727 if : github.event_name == 'pull_request'
28- run : ./mvnw jacoco:report coveralls:report --batch-mode --no-transfer-progress -DpullRequest=${PR_NUMBER} -DrepoToken=${GITHUB_TOKEN} -DserviceName=github
28+ run : ./mvnw generate-sources jacoco:report coveralls:report --batch-mode --no-transfer-progress -DpullRequest=${{ env. PR_NUMBER }} -DrepoToken=${{ env. GITHUB_TOKEN } } -DserviceName=github
2929 env :
3030 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3131 PR_NUMBER : ${{ github.event.number }}
3232 - name : Report Coverage to Coveralls for General Push
3333 if : github.event_name == 'push'
34- run : ./mvnw jacoco:report coveralls:report --batch-mode --no-transfer-progress -DrepoToken=${GITHUB_TOKEN} -DserviceName=github
34+ run : ./mvnw generate-sources jacoco:report coveralls:report --batch-mode --no-transfer-progress -DrepoToken=${{ env. GITHUB_TOKEN } } -DserviceName=github
3535 env :
3636 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ jobs:
1616 build :
1717 if : github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
1818 runs-on : ubuntu-latest
19- timeout-minutes : 30
19+ timeout-minutes : 60
2020 steps :
2121 - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
2222 - name : Setup Java
2323 uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5
2424 with :
2525 cache : maven
2626 distribution : temurin
27- java-version : 21
27+ java-version : 25
2828 - name : Build site
2929 run : ./mvnw site site:stage --batch-mode --no-transfer-progress --settings ./.mvn/settings.xml --show-version -Dlicense.skip=true -DskipTests
3030 env :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ concurrency:
1313
1414env :
1515 SONAR_ORGANIZATION : mybatis
16- SONAR_PROJECT_KEY : mybatis_ehcache -cache
16+ SONAR_PROJECT_KEY : ehcache -cache
1717
1818jobs :
1919 build :
@@ -30,11 +30,11 @@ jobs:
3030 with :
3131 cache : maven
3232 distribution : temurin
33- java-version : 21
33+ java-version : 25
3434 - name : Set SONAR_SCANNER_JAVA_OPTS
3535 run : echo "SONAR_SCANNER_JAVA_OPTS=-Xmx512m" >> ${GITHUB_ENV}
3636 - name : Analyze with SonarCloud
37- run : ./mvnw verify jacoco:report sonar:sonar --batch-mode --no-transfer-progress --show-version -Dlicense.skip=true -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=${SONAR_ORGANIZATION} -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.scanner.skipJreProvisioning=true -Dsonar.token=${SONAR_TOKEN}
37+ run : ./mvnw verify jacoco:report sonar:sonar --batch-mode --no-transfer-progress --show-version -Dlicense.skip=true -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=${{ env. SONAR_ORGANIZATION }} -Dsonar.projectKey=${{ env.SONAR_ORGANIZATION }}_${{ env. SONAR_PROJECT_KEY }} -Dsonar.scanner.skipJreProvisioning=true -Dsonar.token=${{ env. SONAR_TOKEN } }
3838 env :
3939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4040 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 2323 with :
2424 cache : maven
2525 distribution : temurin
26- java-version : 21
26+ java-version : 25
2727 - name : Deploy to Sonatype
2828 run : ./mvnw deploy --batch-mode --no-transfer-progress --settings ./.mvn/settings.xml --show-version -Dlicense.skip=true -DskipTests
2929 env :
You can’t perform that action at this time.
0 commit comments