diff options
| author | hathach <[email protected]> | 2025-10-25 13:54:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-25 15:20:07 +0700 |
| commit | 5818db49b2de8689a07007a5e4d329b94d67ef42 (patch) | |
| tree | da215d5da4283cf52aa684b5c73794060be0ef49 /.github | |
| parent | 531009c9a02d719d3222c89dc9d31f5967e23af3 (diff) | |
add SonarQube scan
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/static_analysis.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index e5254344b..45c5c959b 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -127,7 +127,7 @@ jobs: - name: Upload SARIF uses: github/codeql-action/upload-sarif@v4 with: - sarif_file: pvs-${{ matrix.board }}.sarif + sarif_file: pvs-studio-${{ matrix.board }}.sarif category: PVS-Studio - name: Upload artifact @@ -173,8 +173,7 @@ jobs: uses: SonarSource/sonarqube-scan-action@v6 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_ROOT_CERT: ${{ secrets.SONAR_ROOT_CERT }} with: # Consult https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/sonarscanner/ for more information and options args: > - --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" + --define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json |
