Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit a7a0f04

Browse files
Phil Varnerc-wygoda
authored andcommitted
use uv
1 parent 31acc6b commit a7a0f04

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/pr.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,23 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ["3.12", "3.13"]
12+
python-version: ["3.12"]
1313
steps:
1414
- uses: actions/checkout@v4
1515
- run: pipx install poetry==1.7.1
1616
- uses: actions/setup-python@v5
1717
with:
1818
python-version: ${{ matrix.python-version }}
1919
cache: poetry
20+
- uses: astral-sh/setup-uv@v3
21+
with:
22+
enable-cache: true
23+
- name: Sync
24+
run: uv sync
2025
- name: Install dependencies
2126
run: poetry install --with=dev
22-
- name: Lint code
27+
- name: Execute linters & type checkers
2328
if: ${{ matrix.python-version == 3.12 }}
24-
run: |
25-
python -m pip install pre-commit
26-
pre-commit run --all-files
29+
run: uv run pre-commit run --all-files
2730
- name: Run tests
2831
run: poetry run nox

0 commit comments

Comments
 (0)