Commit fed4f79
authored
ci(.github/workflows): use the runner's system Python 3.11 (peco-driver) (#539)
## Problem
After moving the bot workflows to the self-hosted **peco-driver** runner
(#538), `actions/setup-python` fails there:
> Version 3.11 was not found in the local cache … not found for this
operating system.
Self-hosted runners have no GitHub tool-cache (that's why setup-python
"just worked" on `ubuntu-latest`), and this one can't reach the version
manifest.
## Fix
The runner is provisioned with system **python3.11** + **Node**. All
four bot workflows drop `actions/setup-python` and instead build a venv
from the runner's `python3.11`, put on `$GITHUB_PATH` so later `pip` /
`python -m …` steps resolve to 3.11 unchanged. Node (for
`@anthropic-ai/claude-code`, which the Python SDK shells out to) comes
from the runner.
Followup workflows keep their `if: skip != 'true'` guard. YAML
validated; title checked against adbc's checker.
## Requires (runner provisioning, one-time)
`python3.11` + `python3.11-venv` and Node/npm installed on the
peco-driver runner and on the runner service's PATH.
This pull request and its description were written by Isaac.1 parent 2e3e239 commit fed4f79
4 files changed
Lines changed: 32 additions & 12 deletions
File tree
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
183 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
163 | 168 | | |
164 | 169 | | |
165 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
0 commit comments