Skip to content

Commit bc04bb4

Browse files
author
Zoran Simic
committed
Use uv in GH actions
1 parent 78ad3aa commit bc04bb4

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
python-version: "3.14"
2121

2222
- uses: astral-sh/setup-uv@v7
23-
- run: uv venv
24-
- run: uv pip install -U tox-uv
25-
- run: .venv/bin/tox -e py,style
23+
- run: uvx --with tox-uv tox -e py,style
2624
- run: uv build
2725
- name: Publish to PyPI
2826
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

24-
- run: pip install -U pip tox
25-
- run: tox -e py
24+
- uses: astral-sh/setup-uv@v7
25+
- run: uvx --with tox-uv tox -e py
2626

2727
linters:
2828

@@ -34,5 +34,5 @@ jobs:
3434
with:
3535
python-version: "3.14"
3636

37-
- run: pip install -U pip tox
38-
- run: tox -e style
37+
- uses: astral-sh/setup-uv@v7
38+
- run: uvx --with tox-uv tox -e style

0 commit comments

Comments
 (0)