File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 24
24
jobs :
25
25
build :
26
26
name : Main Build
27
- runs-on : ubuntu-20 .04
27
+ runs-on : ubuntu-22 .04
28
28
steps :
29
29
- name : Clone
30
- uses : actions/checkout@v1
30
+ uses : actions/checkout@v4
31
31
- name : Cache Maven Repository
32
- uses : actions/cache@v1
32
+ uses : actions/cache@v4
33
33
with :
34
34
path : /home/runner/work/yupiik-logging/yupiik-logging/.m2
35
35
key : m2_repository
36
36
- name : Set up JDK
37
- uses : actions/setup-java@v1
37
+ uses : actions/setup-java@v4
38
38
with :
39
- java-version : ' 11.0.9'
39
+ distribution : ' zulu'
40
+ java-version : ' 21'
40
41
- name : Build
41
42
run : mvn install
42
43
- name : Remove Snapshots Before Caching
43
44
run : find /home/runner/work/yupiik-logging/yupiik-logging/.m2 -name '*SNAPSHOT' | xargs rm -Rf
44
45
security_audit :
45
46
name : Security Audit
46
- runs-on : ubuntu-20 .04
47
+ runs-on : ubuntu-22 .04
47
48
steps :
48
49
- name : Clone
49
- uses : actions/checkout@v1
50
+ uses : actions/checkout@v4
50
51
- name : Cache Maven Repository
51
- uses : actions/cache@v1
52
+ uses : actions/cache@v4
52
53
with :
53
54
path : /home/runner/work/yupiik-logging/yupiik-logging/.m2
54
55
key : m2_repository
55
56
- name : Set up JDK
56
- uses : actions/setup-java@v1
57
+ uses : actions/setup-java@v4
57
58
with :
58
- java-version : ' 11.0.9'
59
+ distribution : ' zulu'
60
+ java-version : ' 21'
59
61
- name : Build
60
62
run : mvn install -DskipTests -Dexec.skip=true ossindex:audit
61
63
- name : Remove Snapshots Before Caching
You can’t perform that action at this time.
0 commit comments