Skip to content

Commit

Permalink
Update Java version used for SonarCloud from 11 to 17 (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
HorizonNet authored Aug 8, 2023
1 parent ea13c9f commit 0c6de82
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,17 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: Build and analyze
- name: Build
run: ./gradlew build jacocoTestReport --info

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

- name: Analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew build jacocoTestReport sonarqube --info
run: ./gradlew sonarqube --info

0 comments on commit 0c6de82

Please sign in to comment.