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 4427d869df6 Add : add swap to sonar checkstyle (#32783)
4427d869df6 is described below

commit 4427d869df67c834f16ec756070d3aa6119f54bb
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Tue Sep 3 10:49:09 2024 +0800

    Add : add swap to sonar checkstyle (#32783)
---
 .github/workflows/nightly-check.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/nightly-check.yml 
b/.github/workflows/nightly-check.yml
index 8c8ce6fd85e..b0102406ca4 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -100,9 +100,13 @@ 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
+        uses: pierotofy/set-swap-space@master
+        with:
+          swap-size-gb: 10
       - name: Aggregate checkstyle report
         run: |
-          export MAVEN_OPTS='-Xmx6g -Xms512m'
+          export MAVEN_OPTS='-Xmx6g -Xms6g'
           ./mvnw clean verify checkstyle:checkstyle-aggregate
       - name: Upload checkstyle report to SonarCloud
         env:

Reply via email to