99 runs-on : ubuntu-latest
1010 strategy :
1111 matrix :
12- python-version : ["3.7 ", "3.8 ", "3.9 ", "3.10 ", "3.11 "]
12+ python-version : ["3.8 ", "3.9 ", "3.10 ", "3.11 ", "3.12 "]
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515 - name : Set up Python ${{ matrix.python-version }}
16- uses : actions/setup-python@v2
16+ uses : actions/setup-python@v4
1717 with :
1818 python-version : ${{ matrix.python-version }}
19- - uses : actions/cache@v2
20- name : Configure pip caching
21- with :
22- path : ~/.cache/pip
23- key : ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
24- restore-keys : |
25- ${{ runner.os }}-pip-
19+ cache : pip
20+ cache-dependency-path : setup.py
2621 - name : Install dependencies
2722 run : |
2823 pip install -e '.[test]'
@@ -33,18 +28,13 @@ jobs:
3328 runs-on : ubuntu-latest
3429 needs : [test]
3530 steps :
36- - uses : actions/checkout@v2
31+ - uses : actions/checkout@v4
3732 - name : Set up Python
38- uses : actions/setup-python@v2
39- with :
40- python-version : " 3.11"
41- - uses : actions/cache@v2
42- name : Configure pip caching
33+ uses : actions/setup-python@v4
4334 with :
44- path : ~/.cache/pip
45- key : ${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}
46- restore-keys : |
47- ${{ runner.os }}-publish-pip-
35+ python-version : " 3.12"
36+ cache : pip
37+ cache-dependency-path : setup.py
4838 - name : Install dependencies
4939 run : |
5040 pip install setuptools wheel twine
0 commit comments