1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

cache deps

This commit is contained in:
Pablo Santiago Blum de Aguiar 2021-01-08 00:07:06 +01:00
parent d05258506f
commit 8f3f1a3ede

View File

@ -16,6 +16,18 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
uses: actions/cache@v2
id: deps_cache
with:
path: |
${{ env.pythonLocation }}/lib/*/site-packages/*
${{ env.pythonLocation }}/bin/*
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py', 'requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
pip install -U wheel setuptools coveralls