From e5585ab1192b50739962ba4119ae2d0ce3627c16 Mon Sep 17 00:00:00 2001 From: Matt Shaw Date: Tue, 27 Aug 2024 13:53:55 +0100 Subject: [PATCH] replace safety with pip-audit --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1833006..d9c127b 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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