This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new d3482e16145 Refactor : update the checkstyle action for sonarcloud
(#32787)
d3482e16145 is described below
commit d3482e161456092b55e8dd45d8d92411e8c18238
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Tue Sep 3 15:55:21 2024 +0800
Refactor : update the checkstyle action for sonarcloud (#32787)
---
.github/workflows/nightly-check.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/nightly-check.yml
b/.github/workflows/nightly-check.yml
index f3fc8322666..329946d5708 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -82,7 +82,7 @@ jobs:
name: Checkstyle - SonarCloud
needs: global-environment
runs-on: ubuntu-latest
- timeout-minutes: 100
+ timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
@@ -102,8 +102,8 @@ jobs:
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX
}}-maven-third-party-
- name: Aggregate checkstyle report
run: |
- export MAVEN_OPTS='-Xmx6g -Xms6g'
- ./mvnw clean checkstyle:checkstyle-aggregate -Pcheck -Drat.skip=true
-T1C
+ ./mvnw clean install -DskipTests -T1C
+ ./mvnw checkstyle:checkstyle-aggregate -Pcheck -T1C
- name: Upload checkstyle report to SonarCloud
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}