File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 20
20
with :
21
21
python-version : 3.9
22
22
23
+ - uses : actions/cache@v2
24
+ id : cache
25
+ with :
26
+ path : ${{ env.pythonLocation }}
27
+ key : lint-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('tests/requirements-linting.txt') }}
28
+
23
29
- name : install
30
+ if : steps.cache.outputs.cache-hit != 'true'
24
31
run : |
25
32
make install-linting
26
33
pip freeze
45
52
- name : set up python
46
53
uses : actions/setup-python@v3
47
54
with :
48
- python-version : 3.8
55
+ python-version : 3.9
56
+
57
+ - uses : actions/cache@v2
58
+ id : cache
59
+ with :
60
+ path : ${{ env.pythonLocation }}
61
+ key : >
62
+ ${{ runner.os }}
63
+ ${{ env.pythonLocation }}
64
+ ${{ hashFiles('setup.py') }}
65
+ ${{ hashFiles('requirements.txt') }}
66
+ ${{ hashFiles('docs/requirements.txt') }}
49
67
50
68
- name : install
69
+ if : steps.cache.outputs.cache-hit != 'true'
51
70
run : make install-docs
52
71
53
72
- name : build site
Original file line number Diff line number Diff line change 16
16
steps :
17
17
- uses : actions/setup-python@v3
18
18
with :
19
- python-version : ' 3.8 '
19
+ python-version : ' 3.9 '
20
20
21
21
- run : pip install smokeshow
22
22
You can’t perform that action at this time.
0 commit comments