From 49830dc34582f64431098bfccfc583884e95ed7d Mon Sep 17 00:00:00 2001 From: Guillaume Kulakowski Date: Tue, 24 Dec 2024 15:29:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20From=20sonarcloud-github-action?= =?UTF-8?q?=20to=20sonarqube-scan-action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/devops.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devops.yml b/.github/workflows/devops.yml index 9d0940d..74ad526 100644 --- a/.github/workflows/devops.yml +++ b/.github/workflows/devops.yml @@ -82,7 +82,7 @@ jobs: - name: Git checkout uses: actions/checkout@v4 with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + fetch-depth: 0 # Disabling shallow clones is recommended for improving the relevancy of reporting # https://docs.sonarsource.com/sonarqube/latest/project-administration/analysis-scope/#sonarqube-respects-ignored-files - name: Remove .gitignore because SonarQube respects ignored files run: rm .gitignore @@ -94,14 +94,14 @@ jobs: pwd ls -R cat coverage.xml - - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@master + - name: SonarQube Scan + uses: SonarSource/sonarqube-scan-action@v4.2.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - with: - args: > - -Dsonar.verbose=true + #with: + # args: > + # -Dsonar.verbose=true ##############################################################################