Files
setup-uv/.github
Kevin Stillhammer bd4d5efd86 Fix workflow tests after ubuntu-latest switch to 26.04 (#1129)
## 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
2026-11-12 14:45:39 +01:00
..
2025-08-12 20:12:10 +00:00