@@ -13,20 +13,20 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v5
17+
18+ - name : Set up Python
19+ uses : actions/setup-python@v6
20+ with :
21+ python-version-file : " pyproject.toml"
1722
1823 - name : Install uv
1924 uses : astral-sh/setup-uv@v6
2025 with :
21- version : " 0.7 .x"
26+ version : " 0.8 .x"
2227 enable-cache : true
2328 cache-dependency-glob : " uv.lock"
2429
25- - name : Set up Python
26- uses : actions/setup-python@v5
27- with :
28- python-version-file : " pyproject.toml"
29-
3030 - name : Install dependencies
3131 run : uv sync --all-extras --dev
3232
@@ -38,21 +38,19 @@ jobs:
3838 runs-on : ubuntu-latest
3939 strategy :
4040 matrix :
41- python-version : ["3.11", "3.12", "3.13"]
41+ python-version : ["3.11", "3.12", "3.13", "3.14-dev" ]
4242 fail-fast : false
4343
4444 steps :
45- - uses : actions/checkout@v4
45+ - uses : actions/checkout@v5
4646
47- - name : Install uv
48- uses : astral-sh/setup-uv@v6
49- with :
50- version : " 0.7.x"
51- enable-cache : true
52- cache-dependency-glob : " uv.lock"
47+ - name : Get Non-Hyphenated Python Version
48+ id : get-pyver
49+ run : |
50+ echo "PYVER=$(cut -d '-' -f 1 <<< ${{ matrix.python-version }})" >> $GITHUB_OUTPUT
5351
5452 - name : Set up (release) Python ${{ matrix.python-version }}
55- uses : actions/setup-python@v5
53+ uses : actions/setup-python@v6
5654 if : " !endsWith(matrix.python-version, '-dev')"
5755 with :
5856 python-version : ${{ matrix.python-version }}
@@ -63,13 +61,21 @@ jobs:
6361 with :
6462 python-version : ${{ matrix.python-version }}
6563
64+ - name : Install uv
65+ uses : astral-sh/setup-uv@v6
66+ with :
67+ version : " 0.8.x"
68+ enable-cache : true
69+ cache-dependency-glob : " uv.lock"
70+
6671 - name : Install dependencies
6772 run : |
68- uv venv
69- uv pip install tox-gh-actions tox- uv
73+ uv venv --python ${{ steps.get-pyver.outputs.PYVER }}
74+ uv pip install tox-uv
7075
7176 - name : Run tests w/tox
72- run : uv run tox
77+ run : |
78+ uv run tox -e ${{ steps.get-pyver.outputs.PYVER }}
7379
7480 - name : Cache coverage for ${{ matrix.python-version }}
7581 uses : actions/upload-artifact@v4
@@ -84,15 +90,15 @@ jobs:
8490 needs : test
8591
8692 steps :
87- - uses : actions/checkout@v4
93+ - uses : actions/checkout@v5
8894
8995 - name : Set up Python
90- uses : actions/setup-python@v5
96+ uses : actions/setup-python@v6
9197 with :
9298 python-version-file : " pyproject.toml"
9399
94100 - name : Pull coverage workflow artifacts
95- uses : actions/download-artifact@v4
101+ uses : actions/download-artifact@v5
96102 with :
97103 path : cov_cache/
98104
0 commit comments