From d661a1a3030446b5fd9fd44bf462b20a9042b87e Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Sun, 15 Dec 2024 13:17:08 +0000 Subject: [PATCH] Switch SonarQube Cloud action --- .github/workflows/ci-docker.yml | 4 ++-- .github/workflows/ci-python-poetry-with-docker.yml | 4 ++-- .github/workflows/ci-python-poetry.yml | 4 ++-- .github/workflows/ci-python-with-docker.yml | 4 ++-- .github/workflows/ci-python.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index 4b3a953..f310ea6 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -21,8 +21,8 @@ jobs: output-file: hadolint.out format: sonarqube no-fail: true - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + - name: SonarQube Cloud Scan + uses: SonarSource/sonarqube-scan-action@v4.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/ci-python-poetry-with-docker.yml b/.github/workflows/ci-python-poetry-with-docker.yml index f0db3f0..cb0ff25 100644 --- a/.github/workflows/ci-python-poetry-with-docker.yml +++ b/.github/workflows/ci-python-poetry-with-docker.yml @@ -48,8 +48,8 @@ jobs: poetry run coverage run -m pytest -v --junitxml=testresults.xml poetry run coverage xml sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + - name: SonarQube Cloud Scan + uses: SonarSource/sonarqube-scan-action@v4.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/ci-python-poetry.yml b/.github/workflows/ci-python-poetry.yml index 2f077c4..bd58f29 100644 --- a/.github/workflows/ci-python-poetry.yml +++ b/.github/workflows/ci-python-poetry.yml @@ -40,8 +40,8 @@ jobs: poetry run coverage run -m pytest -v --junitxml=testresults.xml poetry run coverage xml sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + - name: SonarQube Cloud Scan + uses: SonarSource/sonarqube-scan-action@v4.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/ci-python-with-docker.yml b/.github/workflows/ci-python-with-docker.yml index d8aedaa..80f30c1 100644 --- a/.github/workflows/ci-python-with-docker.yml +++ b/.github/workflows/ci-python-with-docker.yml @@ -49,8 +49,8 @@ jobs: coverage run -m pytest -v --junitxml=testresults.xml coverage xml sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + - name: SonarQube Cloud Scan + uses: SonarSource/sonarqube-scan-action@v4.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 848f1c2..3445317 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -43,8 +43,8 @@ jobs: coverage run -m pytest -v --junitxml=testresults.xml coverage xml sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + - name: SonarQube Cloud Scan + uses: SonarSource/sonarqube-scan-action@v4.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}