|
@@ -25,10 +25,10 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
|
submodules: 'recursive'
|
|
submodules: 'recursive'
|
|
|
- - name: Set up JDK 11
|
|
|
|
|
|
|
+ - name: Set up JDK 17
|
|
|
uses: actions/setup-java@v1
|
|
uses: actions/setup-java@v1
|
|
|
with:
|
|
with:
|
|
|
- java-version: 11
|
|
|
|
|
|
|
+ java-version: 17
|
|
|
- name: Download and set up sonar-scanner
|
|
- name: Download and set up sonar-scanner
|
|
|
env:
|
|
env:
|
|
|
SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip
|
|
SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip
|
|
@@ -53,4 +53,4 @@ jobs:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
|
run: |
|
|
run: |
|
|
|
- sonar-scanner --define sonar.host.url="${{ env.SONAR_SERVER_URL }}" --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
|
|
|
|
|
|
|
+ sonar-scanner --define sonar.host.url="${{ env.SONAR_SERVER_URL }}" --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
|