Commit efebc6b
committed
fix(ci): add uv to root tools so semgrep installs via uvx (#320)
The upgrade-main workflow (and any cold-cache security.yml run) fails at
the mise-action Install step because mise 2026.6.2+ enabled a default
minimum_release_age for the pipx backend, which triggers a shared-pip
venv upgrade that fails on the runner ("Failed to upgrade shared libraries").
mise's pipx.uvx setting defaults to true and routes pipx tools through
`uv tool install` when uv is on PATH — but uv was only declared in
agent/mise.toml, not the root mise.toml that mise-action provisions at
the repo root. Declaring uv here puts it on PATH before semgrep resolves,
so semgrep installs via uvx and bypasses the broken classic-pipx path.
Verified locally under the exact CI mise 2026.6.3: with uv in [tools],
`mise install` runs `uv tool install semgrep==1.165.0` and succeeds.
Preserves the 2026.6.2 supply-chain release-age protection.
Refs #3201 parent d6b00df commit efebc6b
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments