diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-17 08:36:40 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-20 09:42:37 +0100 |
commit | 6402fb0b9a725f8f2c78874e537f21144c44f0e4 (patch) | |
tree | f21ab285f7f95898c7e47bbddaf7b464fdc6ce12 /.github/workflows | |
parent | 04447f8c1a32aa2d1a2209d0a120ce04435c1346 (diff) | |
download | searxng-6402fb0b9a725f8f2c78874e537f21144c44f0e4.tar.gz searxng-6402fb0b9a725f8f2c78874e537f21144c44f0e4.zip |
[enh] CI: use actions/cache@v2 for Python dependencies
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/integration.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |