@@ -14,16 +14,11 @@ jobs:
1414 with :
1515 enable-cache : true
1616
17- - name : " Set up Python"
18- uses : actions/setup-python@v5
19- with :
20- python-version-file : " .python-version"
21-
2217 - name : Install the project
23- run : uv sync --frozen --all-extras --dev
18+ run : uv sync --frozen --all-extras --dev --python 3.12
2419
2520 - name : Run ruff format check
26- run : uv run --frozen ruff check .
21+ run : uv run --no-sync ruff check .
2722
2823 typecheck :
2924 runs-on : ubuntu-latest
@@ -35,19 +30,17 @@ jobs:
3530 with :
3631 enable-cache : true
3732
38- - name : " Set up Python"
39- uses : actions/setup-python@v5
40- with :
41- python-version-file : " .python-version"
42-
4333 - name : Install the project
44- run : uv sync --frozen --all-extras --dev
34+ run : uv sync --frozen --all-extras --dev --python 3.12
4535
4636 - name : Run pyright
47- run : uv run --frozen pyright
37+ run : uv run --no-sync pyright
4838
49- build :
39+ test :
5040 runs-on : ubuntu-latest
41+ strategy :
42+ matrix :
43+ python-version : ["3.10", "3.11", "3.12", "3.13"]
5144
5245 steps :
5346 - uses : actions/checkout@v4
5750 with :
5851 enable-cache : true
5952
60- - name : " Set up Python"
61- uses : actions/setup-python@v5
62- with :
63- python-version-file : " .python-version"
64-
6553 - name : Install the project
66- run : uv sync --frozen --all-extras --dev
54+ run : uv sync --frozen --all-extras --dev --python ${{ matrix.python-version }}
6755
6856 - name : Run pytest
69- run : uv run --frozen pytest
57+ run : uv run --no-sync pytest
0 commit comments