Skip to content

Commit de6b3f8

Browse files
Update build.yml
1 parent 271655d commit de6b3f8

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout project
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545
with:
4646
fetch-depth: 0
4747
- name: Set up Python 3.10
@@ -59,11 +59,15 @@ jobs:
5959
- name: Fix coverage report for Sonar
6060
run: |
6161
sed -i 's/\/home\/runner\/work\/lib-rql\/lib-rql\//\/github\/workspace\//g' ./tests/reports/coverage.xml
62-
- name: SonarCloud
63-
uses: SonarSource/sonarcloud-github-action@master
62+
- name: SonarQube Scan
63+
uses: SonarSource/sonarqube-scan-action@v6
6464
env:
65-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
65+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
66+
# - name: SonarCloud
67+
# uses: SonarSource/sonarcloud-github-action@master
68+
# env:
69+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6771
- name: Wait sonar to process report
6872
uses: jakejarvis/wait-action@master
6973
with:
@@ -72,4 +76,4 @@ jobs:
7276
uses: sonarsource/sonarqube-quality-gate-action@master
7377
timeout-minutes: 5
7478
env:
75-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
79+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)