File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
2
+
Original file line number Diff line number Diff line change @@ -21,11 +21,22 @@ jobs:
21
21
with :
22
22
distribution : ' temurin'
23
23
java-version : ${{ matrix.jdk }}
24
+ - name : Install Maven
25
+ run : |
26
+ apt-get update
27
+ apt-get install -y maven
24
28
- name : Cache Maven packages
25
29
uses : actions/cache@v4.2.3
26
30
with :
27
31
path : ~/.m2
28
32
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
29
33
restore-keys : ${{ runner.os }}-m2
34
+ - name : Cache OWASP NVD data
35
+ uses : actions/cache@v4.2.3
36
+ with :
37
+ path : ~/.m2/repository/org/owasp/dependency-check-data
38
+ key : owasp-nvd-cache-${{ runner.os }}
39
+ restore-keys : |
40
+ owasp-nvd-cache-
30
41
- name : Build with Maven
31
42
run : mvn -B -U verify
Original file line number Diff line number Diff line change 246
246
<groupId >org.owasp</groupId >
247
247
<artifactId >dependency-check-maven</artifactId >
248
248
<version >12.1.3</version >
249
+ <configuration >
250
+ <nvdApiKey >a1c5057d-457c-4e4f-959d-13c98786a664</nvdApiKey >
251
+ </configuration >
249
252
<executions >
250
253
<execution >
251
254
<goals >
You can’t perform that action at this time.
0 commit comments