From 958fe0e9f9ec171c590ba192bef90e5074724de7 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 20 May 2024 01:01:23 -0400 Subject: [PATCH] ci: only cache on pypy Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdaa7e8c..749c73b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,13 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true - - uses: hynek/setup-cached-uv@v1 + - name: Setup uv (uncached) + uses: yezz123/setup-uv@v4 + if: "!startsWith(matrix.python-version, 'pypy')" + + - name: Setup uv (cached) + uses: hynek/setup-cached-uv@v1 + if: "startsWith(matrix.python-version, 'pypy')" with: cache-suffix: -${{ matrix.python-version }}