Skip to content

Commit 2a0bf81

Browse files
committed
Use uv in CI
1 parent bbe7a46 commit 2a0bf81

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ jobs:
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.x"
21-
- name: Install pypa/build
22-
run:
23-
python3 -m pip install build --user
21+
- uses: astral-sh/setup-uv@v5
2422
- name: Build a binary wheel and a source tarball
25-
run: python3 -m build
23+
run: uv build
2624
- name: Store the distribution packages
2725
uses: actions/upload-artifact@v4
2826
with:

.github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
- uses: actions/setup-python@v5
3535
with:
3636
python-version: ${{ matrix.python-version }}
37-
- run: python -m pip install tox
37+
- uses: astral-sh/setup-uv@v5
38+
- run: uv pip install --system tox tox-uv
3839
- run: tox -f py$(echo ${{ matrix.python-version }} | tr -d .)
3940
- uses: codecov/codecov-action@v4
4041
with:

0 commit comments

Comments
 (0)