From 55e8eeeb4a9a6a90fb465fe27d19984b912d49a3 Mon Sep 17 00:00:00 2001 From: Tim Daniel Metzler Date: Wed, 12 Feb 2025 14:57:57 +0100 Subject: [PATCH] Replace deprecated sonar action --- .github/workflows/sonar-scan.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index 62893653..9466445a 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9] + python-version: [3.13] steps: - uses: actions/checkout@v3 @@ -39,7 +39,8 @@ jobs: pytest --cov coverage xml -i - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@v2.0.0 + uses: SonarSource/sonarqube-scan-action@v4.2.1 env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: https://sonarcloud.io