Repository navigation
Commit 7c1e5d8
authored
chore: bump astral-sh/setup-uv to v10.0.1 (#1002)
Weekly `uses:` sweep: `astral-sh/setup-uv` v9.0.0 → v10.0.1, crossing
one major. This is the adopter-facing half — the ref the generator
renders into every adopter's `tend-install-test` workflow, plus the
`setup:` examples adopters copy from. The repo's own hand-maintained
workflows and `.config/tend.yaml` move in a separate PR.
v10's one breaking change is that `enable-cache: auto` (the default, and
what every rendered call uses) now **disables** the uv cache on
`pull_request_target`, `workflow_run`, and `release` events, to close a
cache-poisoning path
([setup-uv#984](astral-sh/setup-uv#984)). Two
tend triggers are on that list: `tend-review` runs on
`pull_request_target` and `tend-ci-fix` on `workflow_run`, so an adopter
whose `setup:` installs uv this way loses cache restores in those two
jobs and pays a cold uv download instead. That is the safer default for
exactly the reason it was changed — a `pull_request_target` job runs
with the base repo's permissions against PR-authored code — and an
adopter who wants the cache back can set `enable-cache: true` on their
own `setup:` step.
The generator's own `tend-install-test` workflow (`workflows.py`) is
`pull_request`-triggered, which is not on the sensitive list, so its
caching is unaffected.
<details><summary>What else changed across v9 → v10.0.1</summary>
- `version: latest-known` installs the newest uv whose checksum the
action itself ships, trading currency for supply-chain verification. Not
adopted here — nothing in tend pins uv through this action.
- `version-file` now also sets the Python version when `.tool-versions`
defines one.
- v10.0.1: tolerates transient manifest timeouts, and refreshes known
checksums through uv 0.12.4.
`uv run pytest` passes (564); the two
`test_install_test_workflow_regtest` outputs are regenerated for the new
ref.
</details>
Co-authored-by: tend-agent <270458913+tend-agent@users.noreply.github.com>1 parent 1ee0b5f commit 7c1e5d8
5 files changed
Lines changed: 11 additions & 11 deletions
File tree
- docs
- generator
- src/tend
- tests/_regtest_outputs
- plugins/install-tend/skills/install-tend/references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments