Skip to content

Commit 00a8f0d

Browse files
committed
Use uv instead of pip in GHA publish workflow
1 parent 5bb4776 commit 00a8f0d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v3
2121

22-
- name: Install Python 3
23-
uses: actions/setup-python@v3
22+
- name: Install uv
23+
uses: astral-sh/setup-uv@v5
2424
with:
25-
python-version: "3.11"
25+
python-version: "3.13"
2626

27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
python -m pip install -r requirements.txt
27+
- name: Check lockfile
28+
run: uv lock --check
3129

3230
- name: Build a binary wheel and a source tarball
3331
run: uv build --sdist --wheel --out-dir dist/

0 commit comments

Comments
 (0)