Commit 14f82d2
ci(github-actions): install SurrealDB from a pinned release tarball, not the install script
Second attempt at the same step. install.surrealdb.com's script does not accept
--yes — it exits 2 with `sh: 79: shift: can't shift that many` — and without a
flag it prompts, which is worse on a runner.
Downloads the binary straight from the GitHub release instead. Pinned to v3.2.0
rather than tracking latest, deliberately: an upstream release that broke this
job would present as a broken pull request, and a gate that cries wolf stops
being read. Bump the version on purpose.
The release assets are version-stamped (surreal-v3.2.0.linux-amd64.tgz), so the
`releases/latest/download/surreal-latest.…` convention 404s — verified before
committing, along with the pinned URL returning 200.
Version sanity: local dev runs server 3.2.3 against the `surrealdb` npm client
at ^2.0.4 and the suite passes, so a 3.2.x server is the configuration these
tests actually pass under.
Files changed:
- .github/workflows/ci.yml
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PZJvZWco3z7SR2dEhFqEjA1 parent d2750c8 commit 14f82d2
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
100 | 105 | | |
| 106 | + | |
| 107 | + | |
101 | 108 | | |
102 | | - | |
103 | | - | |
| 109 | + | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
0 commit comments