File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change 26
26
uses : actions/setup-python@v4
27
27
with :
28
28
python-version : 3.x
29
- - name : Cache PyPI
30
- uses : actions/cache@v3
31
- with :
32
- key : pip-lint-${{ hashFiles('requirements/*.txt') }}
33
- path : ~/.cache/pip
34
- restore-keys : |
35
- pip-lint-
29
+ cache : pip
30
+ cache-dependency-path : |
31
+ requirements/*.txt
36
32
- name : Install dependencies
37
33
uses : py-actions/py-dependency-install@v3
38
34
with :
82
78
uses : actions/setup-python@v4
83
79
with :
84
80
python-version : ${{ matrix.pyver }}
85
- - name : Get pip cache dir
86
- id : pip-cache
87
- shell : bash
88
- run : |
89
- echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
90
- - name : Cache PyPI
91
- uses : actions/cache@v3
92
- with :
93
- key : pip-ci-${{ runner.os }}-${{ matrix.pyver }}-${{ hashFiles('requirements/*.txt') }}
94
- path : ${{ steps.pip-cache.outputs.dir }}
95
- restore-keys : |
96
- pip-ci-${{ runner.os }}-${{ matrix.pyver }}-
81
+ cache : pip
82
+ cache-dependency-path : |
83
+ requirements/*.txt
97
84
- name : Install dependencies
98
85
uses : py-actions/py-dependency-install@v3
99
86
with :
You can’t perform that action at this time.
0 commit comments