File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 22
22
steps :
23
23
- uses : actions/setup-python@v2.3.1
24
24
- uses : actions/checkout@v2.4.0
25
- - uses : actions/cache@v2.1.7
26
25
with :
27
- path : ~/.cache/pip
28
- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
29
- restore-keys : |
30
- ${{ runner.os }}-pip-
26
+ cache : ' pip'
27
+ cache-dependency-path : ' requirements.txt'
31
28
- run : python -m pip install -r requirements.txt
32
29
- run : ${{ matrix.lint-command }}
33
30
37
34
- run : sudo apt install -y gettext
38
35
- uses : actions/setup-python@v2.3.1
39
36
- uses : actions/setup-node@v2.5.0
37
+ with :
38
+ node-version : ' lts/*'
40
39
- uses : actions/checkout@v2.4.0
41
40
- name : Install Python dependencies
42
41
run : python -m pip install --upgrade pip setuptools wheel twine readme-renderer
51
50
steps :
52
51
- uses : actions/setup-python@v2.3.1
53
52
- uses : actions/checkout@v2.4.0
53
+ with :
54
+ cache : ' pip'
55
+ cache-dependency-path : ' requirements.txt'
54
56
- run : python -m pip install --upgrade pip setuptools wheel
55
57
- run : python -m pip install -r requirements.txt
56
58
- run : python setup.py develop
You can’t perform that action at this time.
0 commit comments