Skip to content

Commit

Permalink
Updated Github testing workflow to replace snyk for now
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMcGrath committed Nov 19, 2024
1 parent e7f5f04 commit f322a77
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,21 @@ jobs:
name: coverage_report_${{ matrix.python-version }}
path: cov
retention-days: 1

security_tests:
runs-on: ubuntu-latest
steps:
- name: Pull package data
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Setup up uv
run: curl -LsSf https://astral.sh/uv/0.4.5/install.sh | sh
- name: Run pip-audit
run: |
uv export --format requirements-txt | uv tool run pip-audit
- name: Run Bandit code auditor
run: uv tool run --with "bandit[toml,baseline,sarif]" bandit -c pyproject.toml -r . -ll

0 comments on commit f322a77

Please sign in to comment.