Skip to content

Commit f5421e0

Browse files
committed
move to uv
1 parent 6606b3e commit f5421e0

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,15 @@ jobs:
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

28+
- name: Install uv
29+
uses: astral-sh/setup-uv@v3
30+
with:
31+
version: "latest"
32+
2833
- name: Install dependencies
2934
run: |
30-
python -m pip install --upgrade pip
31-
pip install -e .
32-
pip install ruff pytest pytest-cov
35+
uv pip install --system -e .
36+
uv pip install --system ruff pytest pytest-cov
3337
3438
- name: Run linting with ruff
3539
run: |

.github/workflows/python-publish.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.x'
20-
- name: Install build dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install build
19+
python-version: '3.11'
20+
21+
- name: Install uv
22+
uses: astral-sh/setup-uv@v3
23+
with:
24+
version: "latest"
25+
2426
- name: Build package
25-
run: python -m build
27+
run: uv build
2628
- name: Publish to PyPI
2729
uses: pypa/gh-action-pypi-publish@release/v1
2830
with:

0 commit comments

Comments
 (0)