From 52b6f11b47c0e799ee1a11b6abdcd94e85af7490 Mon Sep 17 00:00:00 2001 From: Kristoffer Andersson Date: Tue, 19 Nov 2024 15:53:59 +0100 Subject: [PATCH] ci: only cache uv --- .github/workflows/test.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 840760e..fafff67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,15 +59,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Load cached venv - id: cached-venv - uses: actions/cache@v4 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/uv.lock') }} - - name: Install dependencies - if: steps.cached-venv.outputs.cache-hit != 'true' run: uv sync --all-extras --dev - name: Run tests for coverage @@ -117,15 +109,7 @@ jobs: with: python-version: ${{ env.MINIMUM_PYTHON_VERSION }} - - name: Load cached venv - id: cached-venv - uses: actions/cache@v4 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/uv.lock') }} - - name: Install dependencies - if: steps.cached-venv.outputs.cache-hit != 'true' run: uv sync --all-extras --dev #---------------------------------------------- # Run tests and upload coverage