Skip to content

Commit 54783c3

Browse files
author
Stefan Hahmann
committed
Use JDK 8 instead of 11 for SonarCloud analysis and report
1 parent 69b5ce1 commit 54783c3

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
61
# This workflow helps you trigger a SonarCloud analysis of your code and populates
72
# GitHub Code Scanning alerts with the vulnerabilities found.
83
# Free for open source project.
@@ -41,14 +36,15 @@ permissions:
4136
jobs:
4237
Sonar-Analysis-and-Report:
4338
runs-on: ubuntu-latest
39+
4440
steps:
45-
- uses: actions/checkout@v3
46-
- name: Set up JDK 11
47-
uses: actions/setup-java@v3
41+
- uses: actions/checkout@v2
42+
- name: Set up Java
43+
uses: actions/setup-java@v2
4844
with:
49-
java-version: '11'
50-
distribution: 'temurin'
51-
cache: maven
45+
java-version: '8'
46+
distribution: 'zulu'
47+
cache: 'maven'
5248

5349
- name: Jacoco Report and SonarCloud Analysis
5450
env:

0 commit comments

Comments
 (0)