Skip to content

Commit

Permalink
improved Cache Trivy DB step
Browse files Browse the repository at this point in the history
  • Loading branch information
fqjony committed Sep 24, 2024
1 parent 10c9b91 commit 5b1ffe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/trivy
key: ${{ runner.os }}-trivy-db
key: ${{ runner.os }}-trivy-db-${{ github.sha }}
restore-keys: |
${{ runner.os }}-trivy-db
${{ runner.os }}-trivy-db-
- name: Install Trivy
run: |
Expand Down

0 comments on commit 5b1ffe4

Please sign in to comment.