Skip to main content

gha-setup-uv-cache-glob-mismatch

Fix for GitHub Actions workflows using `astral-sh/setup-uv@v4` (or v5) failing immediately with `Error: No file matched to [**/uv.lock]` and cascading to skip every downstream job. Use when: (1) a GHA workflow shows the first uv-using job as failed and most others as skipped/cancelled after a push, despite the underlying steps being correct; (2) the failing job's log contains literally `Error: No file matched to [**/uv.lock]` right after `Run astral-sh/setup-uv@v4`; (3) the repo's `.gitignore` includes `uv.lock` (common for libraries that want consumers to resolve their own deps); (4) running `uv sync` works locally but every uv-using GHA step blows up before reaching `uv sync`. Root cause: setup-uv's cache layer defaults `cache-dependency-glob: **/uv.lock`, requires the glob to MATCH at least one tracked file, and treats a no-match as a hard failure. Fix is one line per setup-uv invocation: `cache-dependency-glob: pyproject.toml`.

설치로 이동

소스 정보

저장소
cajias/claude-skills
최근 소스 활동
2026년 7월 20일 07:29
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.