Skip to content

Commit 282021b

Browse files
author
Faruk D.
committed
update the sonarcloud action
1 parent 862407a commit 282021b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/quality.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: quality
22

33
on:
4-
push:
5-
pull_request:
6-
types: [opened, reopened]
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
77

88
jobs:
99
sonarcloud:
@@ -22,8 +22,8 @@ jobs:
2222
run: pytest --cov --cov-report term --cov-report xml --junitxml=xunit-result.xml tests/
2323
- name: Correct coverage paths
2424
run: sed -i "s+$PWD/++g" coverage.xml
25-
- name: SonarCloud Scan
26-
uses: sonarsource/sonarcloud-github-action@master
25+
- name: SonarQube Scan
26+
uses: SonarSource/sonarqube-scan-action@v5.0.0
2727
env:
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2928
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
29+
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}

0 commit comments

Comments
 (0)