diff --git a/.github/workflows/nightly-check.yml b/.github/workflows/nightly-check.yml index 8c8ce6fd85ecb..b0102406ca494 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: