@voxgig/create-sdkgen 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/create-sdkgen",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "main": "dist/create-sdkgen.js",
5
5
  "type": "commonjs",
6
6
  "types": "dist/create-sdkgen.d.ts",
@@ -59,6 +59,6 @@
59
59
  "aontu": "0.50.1",
60
60
  "chokidar": "5.0.0",
61
61
  "jostraca": "0.31.2",
62
- "shape": "10.1.3"
62
+ "shape": ">=10"
63
63
  }
64
64
  }
@@ -289,7 +289,14 @@ jobs:
289
289
  continue-on-error: true
290
290
  steps:
291
291
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
292
- # gcc/make are preinstalled on ubuntu-latest — no setup step needed.
292
+ # gcc/make are preinstalled on ubuntu-latest, but the secrets feature's
293
+ # generated feature/secrets/kinds.mk adds `-lssl -lcrypto -lcurl` when a
294
+ # plugin group is active, and feature/secrets/kinds.c includes
295
+ # <curl/curl.h>. The runner image ships neither header set, so the build
296
+ # stopped at `fatal error: curl/curl.h: No such file or directory`.
297
+ # A model with no active plugin group links libc alone and this is inert.
298
+ - if: hashFiles('c/Makefile') != ''
299
+ run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev libssl-dev
293
300
  - if: hashFiles('c/Makefile') != ''
294
301
  run: make -C c test
295
302
 
@@ -313,13 +320,25 @@ jobs:
313
320
  # parse, so a split leaves the generated SDK unbuildable on one side
314
321
  # or the other. It was 0.13 until the target was ported, which is
315
322
  # what let omni's zig port be vendored at all.
316
- # NODE24 EXCEPTION: setup-zig has no node24 release — v1 and v2 are both
317
- # node20 — so it stays on v1 and will emit a deprecation warning.
318
- # Revisit when upstream ships one.
323
+ # INSTALLED FROM ziglang.org, NOT setup-zig. That action resolves the
324
+ # toolchain through community mirrors, and they failed every run: 404
325
+ # from zig.linus.dev, 503 from zig.nekos.space, 502 from
326
+ # zigmirror.hryx.net, with no fallback to the official host. The job had
327
+ # not gone green once. ziglang.org serves the same tarball and answers
328
+ # 200; `--retry` covers an ordinary blip. This also drops the node20
329
+ # deprecation warning that pinned the action to v1.
319
330
  - if: hashFiles('zig/build.zig') != ''
320
- uses: mlugg/setup-zig@53fc45b17fe98b52f92ee5ea08ff48a85a3e7eb7 # v1
321
- with:
322
- version: '0.16.0'
331
+ run: |
332
+ set -euo pipefail
333
+ version=0.16.0
334
+ curl -fsSL --retry 5 --retry-all-errors \
335
+ -o /tmp/zig.tar.xz \
336
+ "https://ziglang.org/download/${version}/zig-x86_64-linux-${version}.tar.xz"
337
+ sudo mkdir -p /opt/zig
338
+ sudo tar -xJf /tmp/zig.tar.xz -C /opt/zig --strip-components=1
339
+ echo /opt/zig >> "$GITHUB_PATH"
340
+ - if: hashFiles('zig/build.zig') != ''
341
+ run: zig version
323
342
  - if: hashFiles('zig/build.zig') != ''
324
343
  run: make -C zig test
325
344