Skip to content

Commit

Permalink
fix: sonarscan ci error (#13830)
Browse files Browse the repository at this point in the history
* 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 6155794.

* fix: even more more memory
  • Loading branch information
erikburt authored Jul 11, 2024
1 parent f84a3f2 commit c8b9879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit c8b9879

Please sign in to comment.