mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-11-19 23:45:59 +00:00
## Summary Fix two workflow issues exposed by the `ubuntu-latest` transition to Ubuntu 26.04, in separate commits: - Use `npx --no-install tsc` in the workflow job dependency check instead of relying on a globally installed TypeScript compiler, matching https://github.com/astral-sh/ruff-action/pull/455. - Disable caching in `test-specific-version`, `test-version-file-version`, and `test-tool-versions-python-version`. These jobs only verify versions or outputs and do not create a dependency cache directory. ## Background The cache key includes the OS version, so the runner transition caused cache misses. Previously restored caches bypassed cache saving and hid the missing-directory problem. On a cold cache, cleanup tried to save a directory that these tests never created. Disabling caching makes these non-cache tests independent of existing cache entries; dedicated cache tests remain unchanged. ## Validation - `npm ci --ignore-scripts` and `npm run all` using npm 11.10.0 after the compiler fix (176 tests passed) - Workflow TypeScript compilation and job dependency check - `actionlint` and `uvx zizmor .github/workflows/test.yml` passed after both changes - `git diff --check` Refs: pi-session 01a1cfe6-d342-70b6-a474-504b84877d9e