test: setup-db
This commit is contained in:
@@ -18,3 +18,21 @@ jobs:
|
|||||||
architecture: amd64
|
architecture: amd64
|
||||||
- name: Run Trivy
|
- name: Run Trivy
|
||||||
run: trivy --version
|
run: trivy --version
|
||||||
|
|
||||||
|
test-setup-db:
|
||||||
|
name: Test Setup DB
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
|
- linux_amd64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
- uses: ./setup-trivy
|
||||||
|
with:
|
||||||
|
version: v0.66.0
|
||||||
|
architecture: amd64
|
||||||
|
- name: Setup DB
|
||||||
|
uses: ./setup-db
|
||||||
|
with:
|
||||||
|
cache-dir: ~/.cache/trivy
|
||||||
|
- name: Run Trivy
|
||||||
|
run: trivy fs --skip-db-update .
|
||||||
|
|||||||
Reference in New Issue
Block a user