Skip to content

Scan dependencies for vulnerabilities with pip-audit #842

Scan dependencies for vulnerabilities with pip-audit

Scan dependencies for vulnerabilities with pip-audit #842

Workflow file for this run

name: Scan dependencies for vulnerabilities with pip-audit
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "0 12 * * *"
jobs:
pip-audit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ">= 3.9"
- name: Install project
run: |
python -m venv --upgrade-deps /tmp/pip-audit-env
source /tmp/pip-audit-env/bin/activate
python -m pip install .
- name: Run pip-audit
uses: pypa/[email protected]
with:
virtual-environment: /tmp/pip-audit-env