File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 7
7
# paths: [ 'quartz-manager-parent/**' ]
8
8
pull_request :
9
9
types : [opened, synchronize, reopened]
10
-
11
10
jobs :
12
11
build :
13
12
name : Build and analyze
14
13
runs-on : ubuntu-latest
15
14
steps :
16
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v3
17
16
with :
18
17
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
21
20
with :
22
- java-version : 11
21
+ java-version : 17
22
+ distribution : ' zulu' # Alternative distribution options are available.
23
23
- name : Cache SonarCloud packages
24
- uses : actions/cache@v1
24
+ uses : actions/cache@v3
25
25
with :
26
26
path : ~/.sonar/cache
27
27
key : ${{ runner.os }}-sonar
28
28
restore-keys : ${{ runner.os }}-sonar
29
29
- name : Cache Maven packages
30
- uses : actions/cache@v1
30
+ uses : actions/cache@v3
31
31
with :
32
32
path : ~/.m2
33
33
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
You can’t perform that action at this time.
0 commit comments