Skip to content

Commit

Permalink
try another approach to run pip-audit
Browse files Browse the repository at this point in the history
  • Loading branch information
iokiwi committed Aug 31, 2024
1 parent 981fc33 commit 3f56f80
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/pip-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Code Check
on: [ push ]

jobs:
pip-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: yezz123/setup-uv@v4
- name: pip-audit
- run: |
uv run pip-audit
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ dependencies = [

[tool.uv]
dev-dependencies = [
"pip-audit>=2.7.3",
"ruff>=0.6.3",
]
Loading

0 comments on commit 3f56f80

Please sign in to comment.