Skip to content

Commit ce3a9e2

Browse files
Use uv in github actions.
1 parent 04235d7 commit ce3a9e2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Setup Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v4
17+
18+
- uses: astral-sh/setup-uv@v5
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Install Dependencies
2222
run: |
23-
sudo apt remove python3-pip
24-
python -m pip install --upgrade pip
25-
python -m pip install . ruff mypy pytest readme_renderer
26-
pip list
23+
uv pip install . ruff mypy pytest readme_renderer
24+
uv pip list
2725
- name: Type Checker
2826
run: |
2927
mypy ptpython

0 commit comments

Comments
 (0)