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:
2121 with :
2222 distribution : ' temurin'
2323 java-version : ${{ matrix.jdk }}
24+ - name : Install Maven
25+ run : |
26+ apt-get update
27+ apt-get install -y maven
2428 - name : Cache Maven packages
2529 uses : actions/cache@v4.2.3
2630 with :
2731 path : ~/.m2
2832 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2933 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-
3041 - name : Build with Maven
3142 run : mvn -B -U verify
Original file line number Diff line number Diff line change 246246 <groupId >org.owasp</groupId >
247247 <artifactId >dependency-check-maven</artifactId >
248248 <version >12.1.3</version >
249+ <configuration >
250+ <nvdApiKey >a1c5057d-457c-4e4f-959d-13c98786a664</nvdApiKey >
251+ </configuration >
249252 <executions >
250253 <execution >
251254 <goals >
You can’t perform that action at this time.
0 commit comments