Skip to content

Commit 1c7b112

Browse files
committed
Disable setup-uv cache in action
The action's dependencies live in the action path, not the consumer's workspace, so setup-uv's workspace-keyed cache matched no files and warned that the cache could never invalidate. Caching a few small pure-Python deps is not worthwhile - turn it off.
1 parent bceaa0c commit 1c7b112

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ runs:
8181

8282
- name: Install uv
8383
uses: astral-sh/setup-uv@v7
84+
with:
85+
# The action's dependencies live in $GITHUB_ACTION_PATH, not the consumer's workspace, so
86+
# setup-uv's workspace-keyed cache has nothing to match and warns it can never invalidate.
87+
# Caching a handful of small pure-Python deps isn't worth it - disable it.
88+
enable-cache: false
8489

8590
- name: Initialize environment
8691
shell: bash

0 commit comments

Comments
 (0)