Skip to content

Commit

Permalink
Add : add swap to sonar checkstyle (#32783)
Browse files Browse the repository at this point in the history
  • Loading branch information
taojintianxia authored Sep 3, 2024
1 parent b43006a commit 4427d86
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/nightly-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4427d86

Please sign in to comment.