Skip to content

Commit

Permalink
Run SonarCloud analysis with Java 11
Browse files Browse the repository at this point in the history
As pointed in issue #267, SonarCloud will drop support for Java 8 by
October 2020. This PR will run the SonarCloud analysis with Java 11,
while still using Java 8 source level.

Closes: #267
PR: #268
  • Loading branch information
beatngu13 committed May 26, 2020
1 parent 1121f77 commit 79c4431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
restore-keys: ${{ runner.os }}-gradle-
- name: Cache Sonar
uses: actions/cache@v1
if: matrix.java == '8' && matrix.os == 'ubuntu'
if: matrix.java == '11' && matrix.os == 'ubuntu'
with:
path: ~/.sonar/cache/
key: ${{ runner.os }}-sonar
Expand All @@ -47,7 +47,7 @@ jobs:
with:
arguments: --refresh-dependencies --stacktrace --scan clean build
- name: Sonarqube
if: matrix.java == '8' && matrix.os == 'ubuntu'
if: matrix.java == '11' && matrix.os == 'ubuntu'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: "61ab2579215aa8a0024a2f9368fc1298fdecfd18"
Expand Down

0 comments on commit 79c4431

Please sign in to comment.