File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,25 @@ jobs:
13
13
name : DAST test with ZAP
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v4
16
+ - name : Checkout code
17
+ uses : actions/checkout@v4
17
18
- name : Set up JDK 21
18
19
uses : actions/setup-java@v3
19
20
with :
20
21
java-version : " 21"
21
22
distribution : " corretto"
23
+ - name : Cache Maven packages
24
+ uses : actions/cache@v3
25
+ with :
26
+ path : ~/.m2
27
+ key : MavenCache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
22
28
- name : Clean install
23
29
run : ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip
30
+ - name : Cache JAR file
31
+ uses : actions/cache@v3
32
+ with :
33
+ path : target
34
+ key : JarCache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
24
35
- name : Start wrongsecrets
25
36
run : nohup ./mvnw spring-boot:run -Dspring-boot.run.profiles=without-vault &
26
37
- name : ZAP Scan
You can’t perform that action at this time.
0 commit comments