feat: add setup-db #11
@@ -18,3 +18,21 @@ jobs:
|
||||
architecture: amd64
|
||||
- name: Run Trivy
|
||||
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