Browse Source

Add caching for ~/.cache/pip

pull/453/head
Pēteris Caune 4 years ago
parent
commit
2f5263dc28
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      .github/workflows/django.yml

+ 4
- 0
.github/workflows/django.yml View File

@ -51,6 +51,10 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}
- name: Install Dependencies - name: Install Dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip


Loading…
Cancel
Save