From c5a2ae114835791de16c5b982632569377c39bfa Mon Sep 17 00:00:00 2001 From: Roberto Bertó <463349+robertoberto@users.noreply.github.com> Date: Tue, 19 May 2026 03:20:53 +0000 Subject: ci: pin uv cache key to pyproject.toml The matrix job in commit 7aa4989 left astral-sh/setup-uv@v3 with its default cache fingerprint of "**/uv.lock". This repo is a library and intentionally does not commit uv.lock (commit a2df706), so the glob matches nothing and the action errors out. Switch the fingerprint to pyproject.toml, the actual source of truth for dependencies. Cache hits remain across PRs that don't touch dependencies; cache invalidates on dependency changes. --- .github/workflows/python-pr-validation.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/python-pr-validation.yml') diff --git a/.github/workflows/python-pr-validation.yml b/.github/workflows/python-pr-validation.yml index 081f7a8..349fe99 100644 --- a/.github/workflows/python-pr-validation.yml +++ b/.github/workflows/python-pr-validation.yml @@ -27,6 +27,7 @@ jobs: uses: astral-sh/setup-uv@v3 with: enable-cache: true + cache-dependency-glob: "pyproject.toml" - name: Install dependencies run: uv sync --extra dev --python ${{ matrix.python-version }} -- cgit v1.2.3