mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 06:38:32 +00:00
install deps only on cache miss
This commit is contained in:
parent
5ea652d19f
commit
b5e0ec9d45
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Cache dependencies
|
||||
id: cache-deps
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
@ -31,6 +32,7 @@ jobs:
|
||||
${{ runner.os }}-pip-
|
||||
${{ runner.os }}-
|
||||
- name: Install dependencies
|
||||
if: steps.cache-deps.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
pip install -U wheel setuptools coveralls
|
||||
pip install -Ur requirements.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user