@@ -24,24 +24,31 @@ jobs:
24
24
fail-fast : false
25
25
matrix :
26
26
include :
27
+ - {name: '3.11', python: '3.11', tox: py311}
28
+ - {name: 'Lowest', python: '3.11', tox: py311-lowest}
27
29
- {name: '3.10', python: '3.10', tox: py310}
28
- - {name: 'Lowest', python: '3.10', tox: py310-lowest}
29
30
- {name: '3.9', python: '3.9', tox: py39}
30
31
- {name: '3.8', python: '3.8', tox: py38}
31
32
- {name: '3.7', python: '3.7', tox: py37}
32
- - {name: 'Typing', python: '3.10 ', os: ubuntu-latest, tox: typing}
33
+ - {name: 'Typing', python: '3.11 ', os: ubuntu-latest, tox: typing}
33
34
steps :
34
- - uses : actions/checkout@v3
35
- - uses : actions/setup-python@v4
35
+ - uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
36
+ - uses : actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912
36
37
with :
37
38
python-version : ${{ matrix.python }}
38
39
cache : ' pip'
39
40
cache-dependency-path : ' pdm.lock'
40
- - uses : actions/cache@v3
41
+ - uses : actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12
41
42
with :
42
43
path : ~/.cache/pdm
43
44
key : ${{ matrix.python }}-pdm-${{ hashFiles('pdm.lock') }}
44
45
restore-keys : ${{ matrix.python }}-pdm-
46
+ - name : cache mypy
47
+ uses : actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12
48
+ with :
49
+ path : ./.mypy_cache
50
+ key : mypy|${{ matrix.python }}|${{ hashFiles('pyproject.toml') }}
51
+ if : matrix.tox == 'typing'
45
52
- run : |
46
53
pip install pdm
47
54
pdm config install.cache true
0 commit comments