Skip to content

Commit 9121681

Browse files
committed
📦👷 Switch to official pip-audit GitHub Action
1 parent d0cfd9c commit 9121681

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

‎project_name/.github/workflows/weekly-ci.yml.jinja‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,19 @@ jobs:
9797
with:
9898
persist-credentials: false
9999
- uses: astral-sh/setup-uv@v7
100-
- name: Install packages
100+
- name: Export packages
101101
run: >-
102-
uv sync
103-
--exact
102+
uv export
103+
--all-packages
104104
--all-extras
105105
--all-groups
106+
-o requirements.txt
107+
--no-emit-local
106108
--locked
107-
- name: List packages
108-
run: uv pip list
109-
- name: Run pip-audit
110-
run: >-
111-
uv run --no-sync --with pip-audit -- pip-audit --skip-editable
109+
- uses: pypa/[email protected]
110+
with:
111+
inputs: requirements.txt
112+
require-hashes: true
112113
- name: Create failure issue
113114
if: failure()
114115
uses: actions/github-script@v8

0 commit comments

Comments
 (0)