Edit workflow to run pip-audit against a poetry export file
Some checks failed
Lint & Security / precommit-and-security (pull_request) Failing after 1m11s
Some checks failed
Lint & Security / precommit-and-security (pull_request) Failing after 1m11s
This commit is contained in:
@@ -22,8 +22,11 @@ jobs:
|
|||||||
- name: Run pre-commit hooks
|
- name: Run pre-commit hooks
|
||||||
run: pre-commit run --all-files --color always
|
run: pre-commit run --all-files --color always
|
||||||
|
|
||||||
- name: Install pip-audit
|
- name: Audit dependencies
|
||||||
run: pip install pip-audit
|
run: |
|
||||||
|
pip install poetry pip-audit
|
||||||
|
poetry export -f requirements.txt --without-hashes \
|
||||||
|
| pip-audit -r /dev/stdin
|
||||||
|
|
||||||
- name: Run pip-audit
|
- name: Run pip-audit
|
||||||
run: pip-audit
|
run: pip-audit
|
||||||
|
|||||||
Reference in New Issue
Block a user