File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 8888 with :
8989 python-version : ${{ matrix.python-version }}
9090
91+ - uses : actions/cache@v2
92+ with :
93+ path : ~/.cache/pip
94+ # This is like the example but we use ``*requirements.txt`` rather
95+ # than ``requirements.txt`` because we have multiple requirements
96+ # files.
97+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
98+ restore-keys : |
99+ ${{ runner.os }}-pip-
100+
91101 - name : " Install dependencies"
92102 run : |
93103 python -m pip install --upgrade pip setuptools wheel
Original file line number Diff line number Diff line change 2828 with :
2929 python-version : ${{ matrix.python-version }}
3030
31+ - uses : actions/cache@v2
32+ with :
33+ path : ~/.cache/pip
34+ # This is like the example but we use ``*requirements.txt`` rather
35+ # than ``requirements.txt`` because we have multiple requirements
36+ # files.
37+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
38+ restore-keys : |
39+ ${{ runner.os }}-pip-
40+
3141 - name : " Install dependencies"
3242 run : |
3343 python -m pip install --upgrade pip setuptools wheel
Original file line number Diff line number Diff line change 2929 with :
3030 python-version : ${{ matrix.python-version }}
3131
32+ - uses : actions/cache@v2
33+ with :
34+ path : ~/.cache/pip
35+ # This is like the example but we use ``*requirements.txt`` rather
36+ # than ``requirements.txt`` because we have multiple requirements
37+ # files.
38+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
39+ restore-keys : |
40+ ${{ runner.os }}-pip-
41+
3242 - name : " Install dependencies"
3343 run : |
3444 python -m pip install --upgrade pip setuptools wheel
You can’t perform that action at this time.
0 commit comments