This is an automated email from the ASF dual-hosted git repository.
chengzhang 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 778b83f71cf Refactor : update the checkstyle command (#32785)
778b83f71cf is described below
commit 778b83f71cf503474f6484b5398cd65143b70c1a
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Tue Sep 3 14:38:41 2024 +0800
Refactor : update the checkstyle command (#32785)
---
.github/workflows/nightly-check.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.github/workflows/nightly-check.yml
b/.github/workflows/nightly-check.yml
index e40ece0f869..f3fc8322666 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -100,12 +100,10 @@ jobs:
key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX
}}-maven-third-party-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX
}}-maven-third-party-
- - name: Set Swap Space
- run: size="10G" && file_swap=/swapfile_$size.img && sudo touch
$file_swap && sudo chmod 600 $file_swap && sudo fallocate -l $size /$file_swap
&& sudo mkswap /$file_swap && sudo swapon -p 20 /$file_swap
- name: Aggregate checkstyle report
run: |
export MAVEN_OPTS='-Xmx6g -Xms6g'
- ./mvnw clean verify checkstyle:checkstyle-aggregate
+ ./mvnw clean checkstyle:checkstyle-aggregate -Pcheck -Drat.skip=true
-T1C
- name: Upload checkstyle report to SonarCloud
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}