@@ -10,12 +10,12 @@ jobs:
10
10
11
11
steps :
12
12
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
15
15
- name : Set up Python
16
- uses : actions/setup-python@v4
16
+ uses : actions/setup-python@v5
17
17
with :
18
- python-version : 3.11
18
+ python-version : 3.13
19
19
20
20
- name : Upgrade pip
21
21
run : python -m pip install --upgrade pip
39
39
strategy :
40
40
fail-fast : false
41
41
matrix :
42
- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9-v7.3.15"]
42
+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12","3.13", "pypy3.9-v7.3.15"]
43
43
os : [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
44
44
exclude :
45
45
# temporarily exclude pypy3 on mac-os as there failing tests caused by bug on cbc side
@@ -50,14 +50,22 @@ jobs:
50
50
51
51
steps :
52
52
53
- - uses : actions/checkout@v3
53
+ - uses : actions/checkout@v4
54
54
55
55
- name : Set up Python ${{ matrix.python-version }}
56
- uses : actions/setup-python@v4
56
+ uses : actions/setup-python@v5
57
57
with :
58
58
python-version : ${{ matrix.python-version }}
59
59
architecture : x64
60
- cache : ' pip'
60
+
61
+ - name : Cache pip dependencies
62
+ uses : actions/cache@v4
63
+ with :
64
+ path : ~/.cache/pip
65
+ key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}
66
+ restore-keys : |
67
+ ${{ runner.os }}-pip-${{ matrix.python-version }}-
68
+ ${{ runner.os }}-pip-
61
69
62
70
- name : Check python version
63
71
run : python -c "import sys; import platform; print('Python %s implementation %s on %s' % (sys.version, platform.python_implementation(), sys.platform))"
0 commit comments