diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 7a4e9c000..e76741402 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -29,7 +29,7 @@ jobs: sudo apt-mark hold firefox grub-efi-amd64-signed sudo apt update sudo apt upgrade - sudo apt install lcov qtbase5{,-doc}-dev qtconnectivity5-{dev,doc-html} qttools5-dev{,-tools} + sudo apt install qtbase5{,-doc}-dev qtconnectivity5-{dev,doc-html} qttools5-dev{,-tools} - name: Install sonar-scanner and build-wrapper uses: SonarSource/sonarcloud-github-c-cpp@v3 - name: Run build-wrapper @@ -41,8 +41,7 @@ jobs: cmake -D CMAKE_BUILD_TYPE=Release -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP" build-wrapper-linux-x86-64 --out-dir "$RUNNER_TEMP/sonar" cmake --build "$RUNNER_TEMP" --config Release - name: Run sonar-scanner - # Generate only one report for now, since Sonar can only deal with one (could just as easily be clang). - if: matrix.env.cxx == 'g++' && github.actor != 'dependabot[bot]' + if: github.actor != 'dependabot[bot]' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}