Skip to content

Commit

Permalink
update sonar scanner (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
goatshriek authored Dec 27, 2023
1 parent a323012 commit b3a7a10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:
wget -q https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
unzip build-wrapper-linux-x86.zip
./build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output make all
wget -q https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.5.0.2216-linux.zip
unzip -qq -o sonar-scanner-cli-4.5.0.2216-linux.zip
chmod +x sonar-scanner-4.5.0.2216-linux/bin/sonar-scanner
sonar-scanner-4.5.0.2216-linux/bin/sonar-scanner -Dproject.settings=tools/sonar/sonar-project.properties
wget -q https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-5.0.1.3006-linux.zip
unzip -qq -o sonar-scanner-cli-5.0.1.3006-linux.zip
chmod +x sonar-scanner-5.0.1.3006-linux/bin/sonar-scanner
sonar-scanner-5.0.1.3006-linux/bin/sonar-scanner -Dproject.settings=tools/sonar/sonar-project.properties
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
4 changes: 1 addition & 3 deletions tools/sonar/sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ sonar.organization=goatshriek-github
sonar.projectKey=stumpless
sonar.sources=src,test
sonar.cfamily.threads=1
sonar.cfamily.cache.enabled=false
sonar.cfamily.build-wrapper-output=bw-output
sonar.cfamily.gcov.reportsPath=.
sonar.sourceEncoding=UTF-8
sonar.python.version=3.8,3.9,3.10
sonar.python.version=3.8,3.9,3.10,3.11,3.12

0 comments on commit b3a7a10

Please sign in to comment.