Skip to content

Fix Windows CI: CLI discovery checks parent dir, MCP main uses 32MB t… #45

Fix Windows CI: CLI discovery checks parent dir, MCP main uses 32MB t…

Fix Windows CI: CLI discovery checks parent dir, MCP main uses 32MB t… #45

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
check:
name: Check (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
key: ci-${{ matrix.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Build CLI
run: cargo build -p infigraph-cli
- name: Test
run: cargo test --all