From 3c2ba4cf605ac3aee0b7b781c74657656007dab4 Mon Sep 17 00:00:00 2001 From: randymcmillan Date: Sun, 22 May 2022 00:03:53 -0400 Subject: [PATCH] .github/workflows/plebnet-playground.yml: use syphar/restore-virtualenv@v1 --- .github/workflows/plebnet-playground.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/plebnet-playground.yml b/.github/workflows/plebnet-playground.yml index c26eebb9e..597f9dcde 100644 --- a/.github/workflows/plebnet-playground.yml +++ b/.github/workflows/plebnet-playground.yml @@ -47,8 +47,16 @@ jobs: - uses: styfle/cancel-workflow-action@0.8.0 with: access_token: ${{ github.token }} - - name: make init venv install.sh uninstall.sh - uses: actions/checkout@v2 + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: syphar/restore-virtualenv@v1 + id: cache-virtualenv + - uses: syphar/restore-pip-download-cache@v1 + if: steps.cache-virtualenv.outputs.cache-hit != 'true' + + - run: pip install -r requirements.txt + if: steps.cache-virtualenv.outputs.cache-hit != 'true' + - name: make venv && install.sh make help report run: | make init initialize