Skip to content

Commit

Permalink
Merge pull request #1006 from elopez/add-pip-audit
Browse files Browse the repository at this point in the history
Add pip-audit action workflow
  • Loading branch information
montyly authored Dec 17, 2021
2 parents 65d5922 + 68333ff commit 168492a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pip-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: pip-audit

on:
push:
branches: [ dev, master ]
pull_request:
branches: [ dev, master ]
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
python -m pip install pip-audit
- name: Run pip-audit
run: |
python -m pip install .
pip-audit --desc -v

0 comments on commit 168492a

Please sign in to comment.