diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8bb38c4..fec5e69 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -40,8 +40,18 @@ jobs: cd build ctest -T Test --output-on-failure ctest -T Coverage --output-on-failure - - name: SonarQube Scan - uses: kitabisa/sonarqube-action@v1.2.0 - with: - host: ${{ secrets.SONARQUBE_HOST }} - login: ${{ secrets.SONARQUBE_TOKEN }} \ No newline at end of file + + sonarqube: + name: SonarQube Trigger + runs-on: ubuntu-latest + steps: + - name: Checking out + uses: actions/checkout@v4 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 + - name: SonarQube Scan + uses: kitabisa/sonarqube-action@v1.2.0 + with: + host: ${{ secrets.SONARQUBE_HOST }} + login: ${{ secrets.SONARQUBE_TOKEN }}