Skip to content

fix(cli): skip incremental-index outside git repos #166

fix(cli): skip incremental-index outside git repos

fix(cli): skip incremental-index outside git repos #166

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
name: Check & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Check (no embedding)
run: cargo check --no-default-features
- name: Check (with embedding)
run: cargo check
- name: Test (no embedding)
run: cargo test --no-default-features
- name: Test (with embedding)
run: cargo test
- name: Plugin lifecycle tests
run: node --test claude-plugin/scripts/lifecycle.test.js claude-plugin/scripts/lifecycle.e2e.test.js claude-plugin/scripts/auto-update.test.js claude-plugin/scripts/session-init.test.js scripts/release-smoke.test.js
- name: Clippy (no embedding)
run: cargo clippy --no-default-features -- -D warnings
- name: Clippy (with embedding)
run: cargo clippy -- -D warnings