Skip to content

Commit 296e99a

Browse files
committed
update sonarqube to 5.3.1
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent d78a481 commit 296e99a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
sudo apt-get update -y
2121
sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config
2222
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev libjq-dev check
23-
- name: Install sonar-scanner and build-wrapper
24-
uses: SonarSource/sonarcloud-github-c-cpp@v3
23+
- name: Install Build Wrapper
24+
uses: SonarSource/sonarqube-scan-action/[email protected]
2525
- name: Run build-wrapper
2626
run: |
2727
./autogen.sh
@@ -31,5 +31,7 @@ jobs:
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
34-
run: |
35-
sonar-scanner --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"
34+
uses: SonarSource/[email protected]
35+
with:
36+
args: >
37+
--define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"

0 commit comments

Comments
 (0)