Skip to content

Commit 978e52a

Browse files
committed
chore: Use pip audit to scan for vulnerabilities
1 parent f7bb23e commit 978e52a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/cdk-checks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
run: pip install -r requirements.txt
2828
working-directory: ./examples/servers/time
2929

30+
- uses: pypa/gh-action-pip-audit@v1.1.0
31+
with:
32+
inputs: ./examples/servers/time/requirements.txt
33+
3034
- name: Synthesize CDK stack
3135
run: cdk synth --app 'python3 cdk_stack.py'
3236
working-directory: ./examples/servers/time

.github/workflows/python-checks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
run: uv sync --frozen --all-extras --dev
2525
working-directory: ./src/python
2626

27+
- uses: pypa/gh-action-pip-audit@v1.1.0
28+
with:
29+
inputs: ./src/python
30+
2731
- name: Build
2832
run: uv build
2933
working-directory: ./src/python

0 commit comments

Comments
 (0)