mirror of
https://github.com/searxng/searxng.git
synced 2024-11-29 22:21:02 +00:00
[enh] CI: use actions/cache@v2 for Python dependencies
This commit is contained in:
parent
04447f8c1a
commit
6402fb0b9a
1 changed files with 7 additions and 0 deletions
7
.github/workflows/integration.yml
vendored
7
.github/workflows/integration.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue