Skip to content

Commit 45cca52

Browse files
upgrade deprecated sonar scanner action
1 parent 7ce16d0 commit 45cca52

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
@@ -23,8 +23,8 @@ jobs:
2323
- name: get nunavut
2424
run: |
2525
pip install --break-system-packages git+https://github.com/OpenCyphal/[email protected]
26-
- name: Install sonar-scanner and build-wrapper
27-
uses: SonarSource/sonarcloud-github-c-cpp@v3
26+
- name: Install build-wrapper
27+
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v6
2828
- name: Run tests
2929
env:
3030
GTEST_COLOR: yes
@@ -53,11 +53,11 @@ jobs:
5353
build/*/**/gcovr_html/*.*
5454
if-no-files-found: error
5555
- name: Run sonar-scanner
56+
uses: SonarSource/sonarqube-scan-action@v6
5657
env:
5758
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5859
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
59-
run: >
60-
sonar-scanner
60+
args: >
6161
-X
6262
--define sonar.organization=opencyphal-garage
6363
--define sonar.projectKey=OpenCyphal-Garage_libcyphal

0 commit comments

Comments
 (0)