Make pip-audit run inside Poetry
All checks were successful
Lint & Security / precommit-and-security (pull_request) Successful in 56s

This commit is contained in:
2025-12-25 10:26:46 +00:00
parent 46e83e3e48
commit 65d2cd7fee

View File

@@ -22,8 +22,15 @@ jobs:
- name: Run pre-commit hooks
run: pre-commit run --all-files --color always
- name: Install Poetry
run: |
pip install poetry
poetry self add poetry-plugin-export
- name: Install pip-audit
run: pip install pip-audit
- name: Run pip-audit
run: pip-audit
- name: Audit dependencies (Poetry lockfile)
run: |
poetry export -f requirements.txt --without-hashes \
| pip-audit -r /dev/stdin