diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 64fdd4977..1c4e1def8 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -21,10 +21,11 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 + distribution: 'temurin' - name: Cache SonarCloud packages uses: actions/cache@v2 with: