Skip to content

Commit

Permalink
Replace deprecated sonar action
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Feb 12, 2025
1 parent 0395d27 commit 55e8eee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sonar-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.13]

steps:
- uses: actions/checkout@v3
Expand All @@ -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

0 comments on commit 55e8eee

Please sign in to comment.