Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the development-dependencies group across 1 directory with 10 updates #84

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
scan-type: "fs"
ignore-unfixed: true
cache-dir: .trivy
- run: ls -laR .trivy
- name: Save cache
uses: ./
with:
Expand All @@ -82,6 +83,7 @@ jobs:
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
prefix: ${{ matrix.os }}
- run: ls -laR .trivy
- name: Verify cache files in working directory
shell: bash
run: __tests__/verify-cache-files.sh .trivy
Expand All @@ -108,11 +110,13 @@ jobs:
scan-type: "fs"
ignore-unfixed: true
cache-dir: .trivy
- run: ls -laR .trivy
- name: Save cache
uses: ./
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
prefix: proxy

test-proxy-restore:
needs: test-proxy-save
runs-on: ubuntu-latest
Expand All @@ -134,5 +138,6 @@ jobs:
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
prefix: proxy
- run: ls -laR .trivy
- name: Verify cache
run: __tests__/verify-cache-files.sh .trivy
4 changes: 3 additions & 1 deletion __tests__/verify-cache-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ fi
files=(
"$path/db/metadata.json"
"$path/db/trivy.db"
"$path/fanal/fanal.db"
)
for file in "${files[@]}"; do
echo "Checking for $file"
Expand All @@ -26,3 +25,6 @@ for file in "${files[@]}"; do
exit 1
fi
done
if [ ! -e "$path/fanal/fanal.db" ]; then
echo "::warning fanal/fanal.db not found in cache"
fi
Loading
Loading