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 に表示されている付属ファイルをお読みください。