Skip to content

Commit 0ec745f

Browse files
committed
sonarqube-scan-action
Signed-off-by: Martijn Govers <[email protected]>
1 parent cd4d6a8 commit 0ec745f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/sonar.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
with:
3131
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
3232

33-
- name: Setup Python 3.11
33+
- name: Set up Python
3434
uses: actions/setup-python@v5
3535
with:
36-
python-version: "3.11"
36+
python-version: "3.13"
3737

3838
- name: Install in develop mode
3939
run: |
@@ -47,9 +47,9 @@ jobs:
4747
# Known bug: https://community.sonarsource.com/t/sonar-on-github-actions-with-python-coverage-source-issue/36057
4848
sed -i 's@/home/runner/work/power-grid-model-io/power-grid-model-io@/github/workspace@g' python_coverage.xml
4949
50-
- name: SonarCloud Scan
50+
- name: SonarQube Scan
5151
if: ${{ (github.event_name == 'push') || (github.event.pull_request.head.repo.owner.login == 'PowerGridModel') }}
52-
uses: SonarSource/sonarqube-scan-action@master
52+
uses: SonarSource/sonarqube-scan-action@v5
5353
env:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)