Skip to content

Commit

Permalink
ci : Move Sonar analysis to Java 17
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohanKanojia committed Feb 3, 2024
1 parent 267e467 commit b4af8bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonar-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
with:
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
- name: Setup Java 11 # Move Sonar analysis to Java 11
- name: Setup Java 17 # Move Sonar analysis to Java 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
- name: Maven Sonar
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
with:
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
- name: Setup Java 11 # Move Sonar analysis to Java 11
- name: Setup Java 17 # Move Sonar analysis to Java 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
- name: Maven Sonar
run: ./mvnw ${MAVEN_ARGS} -Pjacoco,sonar clean install

0 comments on commit b4af8bc

Please sign in to comment.