mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-03-13 01:26:47 +00:00
## Summary - replace the root `AGENTS.md` symlink with a real file - move the agent instructions out of `.github/copilot-instructions.md` into `AGENTS.md` - trim the content down to concise, repo-specific guidance and add a short repository orientation ## Testing - not run (docs-only change)
1.1 KiB
1.1 KiB
setup-uv agent notes
This repository is a TypeScript-based GitHub Action for installing uv in GitHub Actions workflows. It also supports restoring/saving the uv cache and optional managed-Python caching.
- The published action runs the committed bundles in
dist/, not the TypeScript insrc/. After any code change, runnpm run packageand commit the resultingdist/updates. - Standard local validation is:
npm ci --ignore-scriptsnpm run all
npm run checkuses Biome (not ESLint/Prettier) and rewrites files in place.- User-facing changes are usually multi-file changes. If you add or change inputs, outputs, or behavior, update
action.yml, the implementation insrc/, tests in__tests__/, relevant docs/README, and then re-package. - The easiest areas to regress are version resolution and caching. When touching them, add or update tests for precedence, cache invalidation, and cross-platform path behavior.
- Workflow edits have extra CI-only checks (
actionlintandzizmor);npm run alldoes not cover them. - Before finishing, make sure validation does not leave generated or formatting-only diffs behind.