Skip to content

fix: use json helper as return to manage memory #35

fix: use json helper as return to manage memory

fix: use json helper as return to manage memory #35

Workflow file for this run

name: CI
on: [pull_request, push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Zig env
uses: goto-bus-stop/setup-zig@v2
- name: Check Zig version
run: zig version
- name: Install XTP CLI
run: curl https://static.dylibso.com/cli/install.sh | sudo sh
- name: Build example
run: zig build
- name: Test basic example
run: |
# this is configured by `examples/basic/xtp.toml`
xtp plugin test --path examples/basic
- name: Test json example
run: |
# this is configured by `examples/json/xtp.toml`
xtp plugin test --path examples/json