Skip to content

Commit

Permalink
replace safety with pip-audit
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-shaw committed Aug 27, 2024
1 parent 23e8eb3 commit e5585ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 safety
python -m pip install flake8 pip-audit
pip install -r requirements-test-${{ matrix.python-version }}.txt
- name: Check dependencies for known security vulnerabilities
run: safety check -r requirements-test-${{ matrix.python-version }}.txt
run: pip-audit -r requirements-test-${{ matrix.python-version }}.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit e5585ab

Please sign in to comment.