Skip to content

Commit be693a6

Browse files
committed
chore: run pip-audit on ci
1 parent 4d96624 commit be693a6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,15 @@ jobs:
2424
run: |
2525
pip install pre-commit==3.7.0
2626
pre-commit run --show-diff-on-failure --color=always --all-files
27+
pip-audit:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
- name: Install uv
32+
uses: astral-sh/setup-uv@caf0cab7a618c569241d31dcd442f54681755d39 # v3.2.4
33+
with:
34+
version: "latest"
35+
- name: Install dependencies
36+
run: uv sync --all-groups && uv add --dev pip-audit
37+
- name: Run pip-audit
38+
run: uv run pip-audit # Will fail if vulnerabilities are found

0 commit comments

Comments
 (0)