1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-20 01:28:56 +00:00

install deps only on cache miss

This commit is contained in:
Pablo Santiago Blum de Aguiar 2021-01-20 10:40:44 +01:00
parent 5ea652d19f
commit b5e0ec9d45

View File

@ -20,6 +20,7 @@ jobs:
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Cache dependencies - name: Cache dependencies
id: cache-deps
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: |
@ -31,6 +32,7 @@ jobs:
${{ runner.os }}-pip- ${{ runner.os }}-pip-
${{ runner.os }}- ${{ runner.os }}-
- name: Install dependencies - name: Install dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: | run: |
pip install -U wheel setuptools coveralls pip install -U wheel setuptools coveralls
pip install -Ur requirements.txt pip install -Ur requirements.txt