Skip to content

Commit

Permalink
ci: Resolve deprecated sonar.login and java version
Browse files Browse the repository at this point in the history
  • Loading branch information
jirimosinger authored Aug 4, 2023
1 parent 5bcdc67 commit fb1b54f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/Sonarcloud-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ jobs:
mv sonar-scanner-$SONAR_SCANNER_VERSION-linux sonar-scanner-linux
working-directory: ${{ runner.temp }}

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'

- name: Sonar scan
env:
SONAR_SCANNER_OPTS: -server
Expand All @@ -87,7 +93,7 @@ jobs:
-Dsonar.sources=benchmark,clients/vscode-hlasmplugin/src/,language_server/src,parser_library/src,parser_library/include,build/generated_parser/,utils/src,utils/include
-Dsonar.tests=parser_library/test,language_server/test,clients/vscode-hlasmplugin/src/test,utils/test
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.token=${{ secrets.SONAR_TOKEN }}
-Dsonar.cfamily.build-wrapper-output=build/bw-output
-Dsonar.cfamily.llvm-cov.reportPath=build/coverage.txt
-Dsonar.javascript.lcov.reportPaths=clients/vscode-hlasmplugin/coverage/lcov.info
Expand Down

0 comments on commit fb1b54f

Please sign in to comment.