Skip to content

Commit 3aa6720

Browse files
authored
Updated the sonarcloud.io integration
1 parent 82ca186 commit 3aa6720

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/sonar-java.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ on:
77
# paths: [ 'quartz-manager-parent/**' ]
88
pull_request:
99
types: [opened, synchronize, reopened]
10-
1110
jobs:
1211
build:
1312
name: Build and analyze
1413
runs-on: ubuntu-latest
1514
steps:
16-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1716
with:
1817
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
19-
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v3
2120
with:
22-
java-version: 11
21+
java-version: 17
22+
distribution: 'zulu' # Alternative distribution options are available.
2323
- name: Cache SonarCloud packages
24-
uses: actions/cache@v1
24+
uses: actions/cache@v3
2525
with:
2626
path: ~/.sonar/cache
2727
key: ${{ runner.os }}-sonar
2828
restore-keys: ${{ runner.os }}-sonar
2929
- name: Cache Maven packages
30-
uses: actions/cache@v1
30+
uses: actions/cache@v3
3131
with:
3232
path: ~/.m2
3333
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)