From 8eb3b0a732375f6d9ab276f4dffd2007d3217be4 Mon Sep 17 00:00:00 2001 From: Amethyst Reese Date: Sun, 8 Sep 2024 20:52:58 -0700 Subject: [PATCH] Enable uv caching on ci (#239) --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4eb7469..05ff17f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,9 @@ jobs: allow-prereleases: true - uses: astral-sh/setup-uv@v2 with: + enable-cache: true cache-dependency-glob: pyproject.toml + cache-suffix: ${{ matrix.python-version }} - name: Install run: make EXTRAS=dev install - name: Test @@ -50,6 +52,7 @@ jobs: python-version: '3.12' - uses: astral-sh/setup-uv@v2 with: + enable-cache: true cache-dependency-glob: pyproject.toml - name: Install run: make EXTRAS=dev install