mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
Meta: Include source sha in sonarcloud analysis metadata
Having the version included in each analysis allows you to do more filtering in the UI where results are viewed.
This commit is contained in:
parent
92844a6af6
commit
dc99b702be
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ jobs:
|
|||
run: |
|
||||
echo "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin" >> $GITHUB_PATH
|
||||
echo "sonar.projectKey=SerenityOS_serenity" >> ${{ github.workspace }}/sonar-project.properties
|
||||
echo "sonar.projectVersion=${{ github.sha }}" >> ${{ github.workspace }}/sonar-project.properties
|
||||
echo "sonar.organization=serenityos" >> ${{ github.workspace }}/sonar-project.properties
|
||||
echo "sonar.cfamily.compile-commands=${{ github.workspace }}/Build/${{ env.SONAR_ANALYSIS_ARCH }}/compile_commands.json" >> ${{ github.workspace }}/sonar-project.properties
|
||||
echo "sonar.cfamily.threads=2" >> ${{ github.workspace }}/sonar-project.properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue