@@ -22,22 +22,22 @@ jobs:
22
22
- " pydocstyle ."
23
23
runs-on : ubuntu-latest
24
24
steps :
25
- - uses : actions/setup-python@v3
26
25
- uses : actions/checkout@v3
27
- - uses : actions/cache@v3
26
+ - uses : actions/setup-python@v4
28
27
with :
29
- path : ~/.cache/pip
30
- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
31
- restore-keys : |
32
- ${{ runner.os }}-pip-
28
+ python-version : " 3.10"
29
+ cache : ' pip'
30
+ cache-dependency-path : ' requirements.txt'
33
31
- run : python -m pip install -r requirements.txt
34
32
- run : ${{ matrix.lint-command }}
35
33
36
34
readme :
37
35
runs-on : ubuntu-latest
38
36
steps :
39
- - uses : actions/setup-python@v3
40
37
- uses : actions/checkout@v3
38
+ - uses : actions/setup-python@v4
39
+ with :
40
+ python-version : " 3.10"
41
41
- name : Install Python dependencies
42
42
run : python -m pip install --upgrade pip setuptools wheel twine readme-renderer
43
43
- run : python setup.py sdist bdist_wheel
@@ -61,11 +61,11 @@ jobs:
61
61
- " 3.2a"
62
62
- " 4.0a"
63
63
steps :
64
+ - uses : actions/checkout@v3
64
65
- name : Set up Python ${{ matrix.python-version }}
65
- uses : actions/setup-python@v3
66
+ uses : actions/setup-python@v4
66
67
with :
67
68
python-version : ${{ matrix.python-version }}
68
- - uses : actions/checkout@v3
69
69
- name : Upgrade Python setuptools
70
70
run : python -m pip install --upgrade pip setuptools wheel codecov
71
71
- run : python setup.py develop
86
86
- slugify
87
87
88
88
steps :
89
- - uses : actions/setup-python@v3
90
89
- uses : actions/checkout@v3
90
+ - uses : actions/setup-python@v4
91
+ with :
92
+ python-version : " 3.10"
91
93
- name : Install Python dependencies
92
94
run : |
93
95
python -m pip install --upgrade pip setuptools wheel codecov
0 commit comments