mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 06:38:32 +00:00
cache deps
This commit is contained in:
parent
d05258506f
commit
8f3f1a3ede
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user