From 0b8ff876f15e4344c225e9c9796792e25d67c0df Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 25 Jun 2024 13:51:20 -0700 Subject: [PATCH] use cached venv, new sdk branch --- .github/workflows/pipeline.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index c61daa92..2b52e189 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -245,9 +245,12 @@ jobs: virtualenvs-in-project: true installer-parallel: true - - name: Install Dependencies - run: | - poetry install + - name: Load Cached venv + id: cached-poetry-dependencies + uses: actions/cache@v3 + with: + path: .venv + key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{hashFiles('**/poetry.lock') }} # Note that we're pulling the latest main from the SDK repo # This might be ahead of what's published to pypi, but it's useful to test things before they're released.