Skip to content

Commit 12ca56c

Browse files
committed
add temp lockfile for gradle vulnerability scan
1 parent 69c6757 commit 12ca56c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
cache: gradle
3939

4040
# Scan the repository for library vulnerabilities and misconfigurations
41+
- name: Generate temporary lockfile for Trivy
42+
run: ./gradlew dependencies --write-locks
43+
44+
4145
- name: Run Trivy vulnerability scanner (Repo scan)
4246
uses: aquasecurity/trivy-action@master
4347
with:

0 commit comments

Comments
 (0)