Skip to content

Commit

Permalink
scanner for vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitiz-Mhto committed Mar 18, 2023
1 parent 19a29bf commit 8390603
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-n-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
python-version: 3.8

- name: Install dependencies
working-directory: ./ecommerce-website-django
run: |
python -m pip install --upgrade pip
pip install build twine
Expand All @@ -40,6 +39,19 @@ jobs:
twine check --strict ../dist/*
pwd
ls
- name: Scan for vulnerabilities
working-directory: ./ecommerce-website-django
run: |
wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64
chmod +x ./osv-scanner_1.2.0_linux_amd64
./osv-scanner_1.2.0_linux_amd64 -r .
- name: Scan for vulnerabilities
working-directory: ./epl-board
run: |
wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64
chmod +x ./osv-scanner_1.2.0_linux_amd64
./osv-scanner_1.2.0_linux_amd64 -r .
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.8.1
Expand Down

0 comments on commit 8390603

Please sign in to comment.