diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4be39e2..dc87cf1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,6 +22,14 @@ jobs: with: python-version: ${{ matrix.python-version }} + - uses: syphar/restore-virtualenv@v1 + id: cache-virtualenv + with: + requirement_files: requirements.txt # this is optional + + - uses: syphar/restore-pip-download-cache@v1 + if: steps.cache-virtualenv.outputs.cache-hit != 'true' + - name: Install dependencies run: | python3 -m pip install -r requirements_dev.txt