Commit 28e9332
ci(deploy): cache Go modules via api/go.sum (fix cold-download fragility) (#227)
deploy.yml checks the api repo out into ./api, so setup-go's default go.sum
lookup at the checkout root misses → the module cache is never restored and
every deploy cold-downloads the full dep tree (~2 min). On 2026-06-03 a
cold-download run was SIGTERM'd by a transient runner blip and the deploy only
landed on a warm re-run. Point cache-dependency-path at api/go.sum so deps
restore from cache, shrinking the download window + the transient-failure
exposure. (ci.yml checks api out at the root, so its cache already works — this
is deploy.yml-specific.) No code/behavior change.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c48d17a commit 28e9332
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
| |||
0 commit comments