Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/production-dependenc…
Browse files Browse the repository at this point in the history
…ies-e659d6d3f1
  • Loading branch information
yogeshlonkar authored Nov 1, 2024
2 parents d0c7071 + b546f07 commit 9a21648
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 166 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,57 +87,3 @@ jobs:
- name: Verify cache files in working directory
shell: bash
run: __tests__/verify-cache-files.sh .trivy

# End to end with proxy
test-proxy-save:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
options: --dns 127.0.0.1
services:
squid-proxy:
image: ubuntu/squid:latest
ports:
- 3128:3128
env:
https_proxy: http://squid-proxy:3128
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Vulnerability scan
uses: aquasecurity/trivy-action@master
with:
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
container:
image: ubuntu:latest
options: --dns 127.0.0.1
services:
squid-proxy:
image: ubuntu/squid:latest
ports:
- 3128:3128
env:
https_proxy: http://squid-proxy:3128
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore cache
uses: ./
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
prefix: proxy
- run: ls -laR .trivy
- name: Verify cache
run: __tests__/verify-cache-files.sh .trivy
Loading

0 comments on commit 9a21648

Please sign in to comment.