@@ -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
19- uses : astral-sh/setup-uv@v5
24+ uses : astral-sh/setup-uv@v7
2025 with :
21- version : " 0.6 .x"
26+ version : " 0.9 .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" ]
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@v5
49- with :
50- version : " 0.6.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 }}
@@ -62,15 +60,22 @@ jobs:
6260 if : endsWith(matrix.python-version, '-dev')
6361 with :
6462 python-version : ${{ matrix.python-version }}
65- tk : true
63+
64+ - name : Install uv
65+ uses : astral-sh/setup-uv@v7
66+ with :
67+ version : " 0.9.x"
68+ enable-cache : true
69+ cache-dependency-glob : " uv.lock"
6670
6771 - name : Install dependencies
6872 run : |
69- uv venv
70- uv pip install tox-gh-actions tox- uv
73+ uv venv --python ${{ steps.get-pyver.outputs.PYVER }}
74+ uv pip install tox-uv
7175
7276 - name : Run tests w/tox
73- run : uv run tox
77+ run : |
78+ uv run tox -e ${{ steps.get-pyver.outputs.PYVER }}
7479
7580 - name : Cache coverage for ${{ matrix.python-version }}
7681 uses : actions/upload-artifact@v4
@@ -85,15 +90,15 @@ jobs:
8590 needs : test
8691
8792 steps :
88- - uses : actions/checkout@v4
93+ - uses : actions/checkout@v5
8994
9095 - name : Set up Python
91- uses : actions/setup-python@v5
96+ uses : actions/setup-python@v6
9297 with :
9398 python-version-file : " pyproject.toml"
9499
95100 - name : Pull coverage workflow artifacts
96- uses : actions/download-artifact@v4
101+ uses : actions/download-artifact@v5
97102 with :
98103 path : cov_cache/
99104
0 commit comments