change test to use cache-dir output
This commit is contained in:
@@ -31,6 +31,7 @@ jobs:
|
||||
with:
|
||||
version: v0.66.0
|
||||
- name: Setup DB
|
||||
id: setup-db
|
||||
uses: ./setup-db
|
||||
- name: Run Trivy
|
||||
run: trivy fs --skip-db-update --cache-dir ${{ runner.temp }}/trivy .
|
||||
run: trivy fs --skip-db-update --cache-dir ${{ steps.setup-db.outputs.cache-dir }} .
|
||||
|
||||
Reference in New Issue
Block a user