From e14fefb67173df5ea0979b39331ba91fb27aa32b Mon Sep 17 00:00:00 2001 From: makaveli10 Date: Thu, 8 Feb 2024 11:13:12 +0530 Subject: [PATCH] cache req --- .github/workflows/tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index afd37fd..94ab996 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,6 +25,16 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: | + ~/.cache/pip + !~/.cache/pip/log + key: ${{ runner.os }}-pip-${{ hashFiles('requirements/server.txt', 'requirements/client.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Install dependencies run: | python -m pip install --upgrade pip