Skip to content

Commit

Permalink
ci: sonar to use Java 17
Browse files Browse the repository at this point in the history
SonarCloud build has been failing due to the error message:
 The version of Java (11.0.22) used to run this analysis is deprecated, and SonarCloud no longer supports it. Please upgrade to Java 17 or later.
  • Loading branch information
suztomo committed Feb 22, 2024
1 parent 6b92401 commit f5dec5b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f5dec5b

Please sign in to comment.