Skip to content

Commit

Permalink
Use JDK 8 instead of 11 for SonarCloud analysis and report
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhahmann committed Apr 17, 2023
1 parent 69b5ce1 commit 54783c3
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow helps you trigger a SonarCloud analysis of your code and populates
# GitHub Code Scanning alerts with the vulnerabilities found.
# Free for open source project.
Expand Down Expand Up @@ -41,14 +36,15 @@ permissions:
jobs:
Sonar-Analysis-and-Report:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: maven
java-version: '8'
distribution: 'zulu'
cache: 'maven'

- name: Jacoco Report and SonarCloud Analysis
env:
Expand Down

0 comments on commit 54783c3

Please sign in to comment.