Using uvx in GitHub Actions in a cache-friendly way
simonwillison.net原文 ↗
这篇 TIL 给出在 GitHub Actions 中更稳定使用 uvx 的 recipe。具体做法是在 workflow 开头设置 `UV_EXCLUDE_NEWER: "2026-07-12"`,并把这个值纳入 Actions cache key,让 `uvx tool-name` 解析到该日期前的最新版本。它解决的是 CI 中工具安装既要新、又要可缓存和可复现的矛盾。
–浏览
评论 · Comments