change test to use cache-dir output
CI / Test Setup Trivy amd64 (pull_request) Successful in 8s
CI / Test Setup DB (pull_request) Successful in 13s
CI / Test Setup Trivy arm64 (pull_request) Successful in 25s

This commit is contained in:
2025-11-08 19:30:09 +01:00
parent 3a0ede95eb
commit 4d47a7465f
+2 -1
View File
@@ -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 }} .