From 2f5263dc281434c3fb9a6a1818c2a88978e3f830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 20 Nov 2020 22:59:38 +0200 Subject: [PATCH] Add caching for ~/.cache/pip --- .github/workflows/django.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index d36c8400..5ba12c7d 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -51,6 +51,10 @@ jobs: uses: actions/setup-python@v2 with: 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 run: | python -m pip install --upgrade pip