From ce5dbfb5bfab03670d3d138584a0c8d935d885d2 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Mon, 17 Jan 2022 14:01:05 -0800 Subject: [PATCH] venv --- .github/workflows/build.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) 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