Skip to content

Commit d24f3d8

Browse files
committed
fix use uv in github actions files
1 parent bc56481 commit d24f3d8

File tree

3 files changed

+468
-167
lines changed

3 files changed

+468
-167
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,20 @@ jobs:
2929
python-version: ${{ matrix.python-version }}
3030

3131

32-
- name: Install the latest version of rye
33-
uses: eifinger/setup-rye@v4
34-
id: setup-rye
32+
- name: Install uv
33+
uses: astral-sh/setup-uv@v5
34+
id: setup-uv
3535
with:
3636
enable-cache: true
3737
cache-prefix: ${{ matrix.python-version }}
3838

39-
- name: Pin python-version ${{ matrix.python-version }}
40-
run: rye pin ${{ matrix.python-version }}
41-
42-
43-
- name: Install dependencies
44-
if: steps.setup-rye.outputs.cache-hit != 'true'
45-
run: |
46-
rye sync --no-lock
47-
39+
- name: Install uv and set the python version
40+
uses: astral-sh/setup-uv@v5
41+
with:
42+
python-version: ${{ matrix.python-version }}
4843

4944
- name: Test with tox
50-
run: rye run tox
45+
run: uv run tox
5146

5247
#
5348
# - name: Upload coverage reports to Codecov with GitHub Action on Python 3.11

requirements-dev.lock

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)