Repository navigation
Fix workflow in Ubuntu 26.04 to use local TypeScript compiler - #455
Merged
Merged
Conversation
Amp-Thread-ID: https://ampcode.com/threads/T-01a1b00f-ebdf-75f3-95d3-426ba3b5b89d Co-authored-by: Kevin Stillhammer <[email protected]>
eifinger
added a commit
to astral-sh/setup-uv
that referenced
this pull request
Nov 12, 2026
## 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 astral-sh/ruff-action#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Amp-Thread-ID: https://ampcode.com/threads/T-01a1b00f-ebdf-75f3-95d3-426ba3b5b89d