Zig client library for the NetBox REST API, generated from the OpenAPI schema.
  • Zig 81%
  • Nix 19%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeffrey C. Ollie 460b58b71a
Some checks failed
CI / lint (push) Successful in 1m52s
CI / test (push) Failing after 1m48s
CI / publish (push) Has been skipped
add CI workflow publishing docs behind lint and tests
Adds .forgejo/workflows/ci.yaml with three jobs: lint runs reuse lint,
test runs zig build test, and publish builds the API docs and uploads
them to https://jeff.ocj.page/zig-netbox/ only after both succeed.

Neither step the workflow depends on existed yet, so build.zig gains
both. The docs step installs the emitted docs from a library artifact
built on the generated netbox module, which also stops discarding that
module. The test step compiles and runs tests over the same module;
the generated api.zig has no test blocks today, so this currently just
proves the generator emits code that compiles.

Both tools are invoked through the devShell rather than the runner's
PATH, so flake.nix gains git-pages-cli for the publish step.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01MEsUoFaykZbmoxKnUKySZ6
2026-08-30 13:33:07 -05:00
.forgejo/workflows add CI workflow publishing docs behind lint and tests 2026-08-30 13:33:07 -05:00
api first 2026-08-27 10:12:11 -05:00
LICENSES first 2026-08-27 10:12:11 -05:00
src first 2026-08-27 10:12:11 -05:00
.gitignore first 2026-08-27 10:12:11 -05:00
build.zig add CI workflow publishing docs behind lint and tests 2026-08-30 13:33:07 -05:00
build.zig.zon inlcude api in package 2026-08-27 11:01:44 -05:00
flake.lock first 2026-08-27 10:12:11 -05:00
flake.nix add CI workflow publishing docs behind lint and tests 2026-08-30 13:33:07 -05:00
REUSE.toml first 2026-08-27 10:12:11 -05:00