diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 26778ed0d..0a80da5c5 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -24,6 +24,8 @@ jobs: cache: maven distribution: zulu java-version: 21 + - name: Set SONAR_SCANNER_JAVA_OPTS + run: echo "SONAR_SCANNER_JAVA_OPTS=-Xmx512m" >> $GITHUB_ENV - name: Analyze with SonarCloud run: ./mvnw verify jacoco:report sonar:sonar -B -V -D"sonar.projectKey=Waffle_waffle" -D"sonar.organization=Waffle" -D"sonar.host.url=https://sonarcloud.io" -D"sonar.token=$SONAR_TOKEN" -D"license.skip=true" --no-transfer-progress -D"sonar.scanner.skipJreProvisioning=true" env: