[enh] CI: use actions/cache@v2 for Python dependencies
commit6402fb0b9a725f8f2c78874e537f21144c44f0e4
authorAlexandre Flament <alex@al-f.net>
dateThu 17 Dec 2020, 08:36 (6 years ago)
parent04447f8
.github/workflows/integration.yml+7
@@ -22,7 +22,14 @@ jobs:
2222 with:
2323 python-version: ${{ matrix.python-version }}
2424 architecture: 'x64'
25+ - name: Cache Python dependencies
26+ id: cache-python
27+ uses: actions/cache@v2
28+ with:
29+ path: ./local
30+ key: python-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements*.txt', 'setup.py') }}
2531 - name: Install Python dependencies
32+ if: steps.cache-python.outputs.cache-hit != 'true'
2633 run: |
2734 make V=1 install
2835 make V=1 gecko.driver