@@ -35,34 +35,27 @@ jobs:
3535    if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name 
3636    name : ${{ matrix.config[1] }} 
3737    steps :
38-     - uses : actions/checkout@v4 
39-     - name : Set up Python 
40-       uses : actions/setup-python@v5 
38+     - uses : actions/checkout@v5 
4139      with :
42-         python-version : ${{ matrix.config[0] }} 
43-         allow-prereleases : true 
44-     - name : Pip cache 
45-       uses : actions/cache@v4 
40+         persist-credentials : false 
41+     - name : Install uv + caching 
42+       uses : astral-sh/setup-uv@v6 
4643      with :
47-         path : ~/.cache/pip 
48-         key : ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }} 
49-         restore-keys : | 
50-           ${{ runner.os }}-pip-${{ matrix.config[0] }}- 
51-           ${{ runner.os }}-pip- 
52- name : Install dependencies 
53-       run : | 
54-         python -m pip install --upgrade pip 
55-         pip install tox 
44+         enable-cache : true 
45+         cache-dependency-glob : | 
46+           setup.* 
47+           tox.ini 
48+ python-version : ${{ matrix.matrix.config[0] }} 
49+         github-token : ${{ secrets.GITHUB_TOKEN }} 
5650    - name : Test 
5751      if : ${{ !startsWith(runner.os, 'Mac') }} 
58-       run : tox -e ${{ matrix.config[1] }} 
52+       run : uvx --with tox-uv  tox -e ${{ matrix.config[1] }}
5953    - name : Test (macOS) 
6054      if : ${{ startsWith(runner.os, 'Mac') }} 
61-       run : tox -e ${{ matrix.config[1] }}-universal2 
55+       run : uvx --with tox-uv  tox -e ${{ matrix.config[1] }}-universal2
6256    - name : Coverage 
6357      if : matrix.config[1] == 'coverage' 
6458      run : | 
65-         pip install coveralls 
66-         coveralls --service=github 
59+         uvx coveralls --service=github 
6760env :
6861        GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
0 commit comments