Skip to content

Commit

Permalink
try newer scanner version
Browse files Browse the repository at this point in the history
  • Loading branch information
goatshriek committed Dec 27, 2023
1 parent 940ee29 commit 3899ebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ jobs:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: 0
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: 'temurin'
java-version: '21'
- name: Configure
run: |
cmake .
Expand All @@ -66,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
3 changes: 0 additions & 3 deletions tools/sonar/sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@ 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

0 comments on commit 3899ebd

Please sign in to comment.