From 2b85244b36f0fdcc3906098b69542853e56591d6 Mon Sep 17 00:00:00 2001 From: Greyson Lalonde Date: Sat, 27 Sep 2025 20:37:48 -0400 Subject: [PATCH] dont cache deps --- .github/workflows/build-uv-cache.yml | 2 +- .github/workflows/tests.yml | 50 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build-uv-cache.yml b/.github/workflows/build-uv-cache.yml index ec0670c13..27ea8bb96 100644 --- a/.github/workflows/build-uv-cache.yml +++ b/.github/workflows/build-uv-cache.yml @@ -33,7 +33,7 @@ jobs: - name: Install dependencies and populate cache run: | echo "Building global UV cache for Python ${{ matrix.python-version }}..." - uv sync --all-groups --all-extras --no-install-project + uv sync --all-groups --all-extras echo "Cache populated successfully" - name: Save uv caches diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 69dd72997..9616eb307 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,17 +25,17 @@ jobs: with: fetch-depth: 0 # Fetch all history for proper diff - - name: Restore global uv cache - id: cache-restore - uses: actions/cache/restore@v4 - with: - path: | - ~/.cache/uv - ~/.local/share/uv - .venv - key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }} - restore-keys: | - uv-main-py${{ matrix.python-version }}- + # - name: Restore global uv cache + # id: cache-restore + # uses: actions/cache/restore@v4 + # with: + # path: | + # ~/.cache/uv + # ~/.local/share/uv + # .venv + # key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }} + # restore-keys: | + # uv-main-py${{ matrix.python-version }}- - name: Install uv uses: astral-sh/setup-uv@v6 @@ -47,11 +47,11 @@ jobs: - name: Install the project run: uv sync --all-packages --all-extras - - name: Restore test durations - uses: actions/cache/restore@v4 - with: - path: .test_durations_py* - key: test-durations-py${{ matrix.python-version }} + # - name: Restore test durations + # uses: actions/cache/restore@v4 + # with: + # path: .test_durations_py* + # key: test-durations-py${{ matrix.python-version }} - name: Run tests (group ${{ matrix.group }} of 8) run: | @@ -87,12 +87,12 @@ jobs: --maxfail=3 \ -m "not requires_local_services" - - name: Save uv caches - if: steps.cache-restore.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 - with: - path: | - ~/.cache/uv - ~/.local/share/uv - .venv - key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }} + # - name: Save uv caches + # if: steps.cache-restore.outputs.cache-hit != 'true' + # uses: actions/cache/save@v4 + # with: + # path: | + # ~/.cache/uv + # ~/.local/share/uv + # .venv + # key: uv-main-py${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}