zuka
zuka/.github/workflows/ci.yml

worklyn / zukapublic

Agent-first git hosting. One Rust binary: git over HTTP and SSH, a REST API, MCP, CI, and multi-tenant isolation.

Get a copy: git clone https://zuka.worklyn.com/worklyn/zuka.git
YMLci.yml1.1 KBDownload
1name: zuka
2
3on:
4 push:
5 paths: ["product/zuka/**"]
6 pull_request:
7 paths: ["product/zuka/**"]
8
9defaults:
10 run:
11 working-directory: product/zuka
12
13jobs:
14 build:
15 runs-on: ubuntu-latest
16 steps:
17 - uses: actions/checkout@v4
18 - uses: dtolnay/rust-toolchain@stable
19 with:
20 components: clippy, rustfmt
21 - uses: Swatinem/rust-cache@v2
22 with:
23 workspaces: product/zuka -> target
24
25 - name: Format
26 run: cargo fmt --check
27
28 - name: Lint
29 run: cargo clippy --all-targets -- -D warnings
30
31 - name: Test
32 run: cargo test
33
34 - name: Build release binary
35 run: cargo build --release
36
37 # The live suite is where the wire protocol is actually proven, so it runs
38 # in CI. A proof that never executes is not a proof.
39 - uses: denoland/setup-deno@v2
40 with:
41 deno-version: v2.x
42 - name: Ensure git and ssh client are present
43 run: git --version && ssh -V && ssh-keygen --help 2>&1 | head -1 || true
44
45 - name: Live wire-protocol suite
46 run: deno task test:live