From 6402fb0b9a725f8f2c78874e537f21144c44f0e4 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Thu, 17 Dec 2020 08:36:40 +0100 Subject: [PATCH] [enh] CI: use actions/cache@v2 for Python dependencies --- .github/workflows/integration.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 1ba077ad3..cff8854b9 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -22,7 +22,14 @@ jobs: with: python-version: ${{ matrix.python-version }} architecture: 'x64' + - name: Cache Python dependencies + id: cache-python + uses: actions/cache@v2 + with: + path: ./local + key: python-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements*.txt', 'setup.py') }} - name: Install Python dependencies + if: steps.cache-python.outputs.cache-hit != 'true' run: | make V=1 install make V=1 gecko.driver