From c8b987980ef785eb459c6337f39e137d197ee333 Mon Sep 17 00:00:00 2001 From: Erik Burton Date: Thu, 11 Jul 2024 13:48:08 -0700 Subject: [PATCH] fix: sonarscan ci error (#13830) * fix: bump sonarsource/sonarqube-scan-action to v2.3.0 * fix: increase memory for sonarscan action * fix: even more memory * fix: disable coverage redesign * Revert "fix: disable coverage redesign" This reverts commit 61557940da5b21c202b5e4aa372fbfe9e9f92c85. * fix: even more more memory --- .github/workflows/ci-core.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-core.yml b/.github/workflows/ci-core.yml index 6b24f749c42..ebb2991ebb0 100644 --- a/.github/workflows/ci-core.yml +++ b/.github/workflows/ci-core.yml @@ -340,7 +340,7 @@ jobs: echo "sonarqube_tests_report_paths=$(find go_core_tests_logs -name output.txt | paste -sd "," -)" >> $GITHUB_OUTPUT echo "sonarqube_coverage_report_paths=$(find go_core_tests_logs -name coverage.txt | paste -sd "," -)" >> $GITHUB_OUTPUT - name: SonarQube Scan - uses: sonarsource/sonarqube-scan-action@69c1a75940dec6249b86dace6b630d3a2ae9d2a7 # v2.0.1 + uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0 with: args: > -Dsonar.go.tests.reportPaths=${{ steps.sonarqube_report_paths.outputs.sonarqube_tests_report_paths }} @@ -349,6 +349,7 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + SONAR_SCANNER_OPTS: "-Xms6g -Xmx8g" - name: Collect Metrics if: always() id: collect-gha-metrics