Skip to content

Commit 00265b0

Browse files
authored
[NOJIRA-1234] Reenable sonar (#697)
* ci(NOJIRA-1234): Re-enabled SonarCloud scan * ci(NOJIRA-1234): Updated SonarCloud Scan action to latest
1 parent f07b0f6 commit 00265b0

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/pull-request.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,16 @@ jobs:
4444
- name: Verify coverage file ready
4545
run: find . | grep coverage
4646

47-
# Ongoing SonarCloud infrastructure changes are blocking us
48-
# from running this step at this time. Please activate the step again later.
49-
# - name: SonarCloud Scan
50-
# uses: SonarSource/sonarcloud-github-action@v2
51-
# if: ${{ matrix.node_version == '22' }}
52-
# with:
53-
# args: >
54-
# -Dsonar.projectVersion=${{ github.run_id }}
55-
# env:
56-
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
57-
# SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }}
47+
- name: SonarCloud Scan
48+
uses: SonarSource/sonarqube-scan-action@v5
49+
if: ${{ matrix.node_version == '22' }}
50+
with:
51+
args: >
52+
-Dsonar.projectVersion=${{ github.run_id }}
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
55+
SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }}
56+
LC_ALL: 'C.UTF-8'
5857

5958
functional:
6059
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)