Skip to content

Commit 5bc7bbb

Browse files
committed
Update sonarscanner
Update. Fix deprecation warning.
1 parent 107f90f commit 5bc7bbb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/actions/setup-sonar-tools/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ description: Download and install sonar-scanner and build-wrapper
33
runs:
44
using: "composite"
55
steps:
6-
- run: echo "SONAR_SCANNER_VERSION=5.0.1.3006" >> $GITHUB_ENV
6+
- run: echo "SONAR_SCANNER_VERSION=7.3.0.5189" >> $GITHUB_ENV
77
shell: bash
8-
- run: echo "SONAR_SCANNER_HOME=${HOME}/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux" >> $GITHUB_ENV
8+
- run: echo "SONAR_SCANNER_HOME=${HOME}/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-x64" >> $GITHUB_ENV
99
shell: bash
1010
- run: echo "SONAR_SCANNER_OPTS=-server" >> $GITHUB_ENV
1111
shell: bash
@@ -19,7 +19,7 @@ runs:
1919
sudo apt-get update \
2020
&& sudo apt-get install nodejs curl unzip \
2121
&& curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip \
22-
https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip \
22+
https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-x64.zip \
2323
&& unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ \
2424
&& curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip \
2525
https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip \

.github/workflows/test_python_cplusplus.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ jobs:
117117
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
118118
run: |
119119
sonar-scanner \
120-
-Dsonar.cfamily.build-wrapper-output=bw-output \
121120
-Dsonar.projectVersion="$(git describe --abbrev=4 --dirty=-dirty --always --tags | tr -d '\n')"
122121
123122
ubuntu-python-tests:

0 commit comments

Comments
 (0)