pip-audit #368
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pip-audit | |
on: | |
push: | |
branches: [ dev, main ] | |
pull_request: | |
branches: [ dev, main ] | |
schedule: [ cron: "0 7 * * 2" ] | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install pip-audit | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install pip-audit | |
- name: Run pip-audit | |
run: | | |
python -m pip install . | |
pip-audit --desc |