Skip to content

chore(deps-dev): bump @napi-rs/cli from 3.5.1 to 3.6.0 #105

chore(deps-dev): bump @napi-rs/cli from 3.5.1 to 3.6.0

chore(deps-dev): bump @napi-rs/cli from 3.5.1 to 3.6.0 #105

Workflow file for this run

name: Rust
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check & Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Cache cargo registry & build
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: cargo fmt --check
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --workspace -- -D warnings
test:
name: Test
runs-on: ubuntu-latest
services:
qdrant:
image: qdrant/qdrant:latest
ports:
- 6333:6333
- 6334:6334
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry & build
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-test-
- name: Wait for Qdrant
run: |
for i in $(seq 1 30); do
curl -sf http://localhost:6333/readyz && break
echo "Waiting for Qdrant... ($i)"
sleep 2
done
- name: cargo test (core, storage, graph)
run: cargo test -p shabti-core -p shabti-storage -p shabti-graph
- name: cargo test (index — requires Qdrant)
run: cargo test -p shabti-index
- name: cargo test (embedding — sequential for model loading)
run: cargo test -p shabti-embedding -- --test-threads=1
- name: cargo test (engine — sequential, requires Qdrant + embedding)
run: cargo test -p shabti-engine -- --test-threads=1