chore: enforce strict gitignore rules #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: Rust (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Clone agentic-sdk (sibling dependency) | |
| run: git clone --depth 1 https://github.com/agentralabs/agentic-sdk.git ../agentic-sdk | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Build | |
| run: cargo build --workspace | |
| - name: Test | |
| run: cargo test --workspace | |
| guardrails: | |
| name: Guardrails | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install command guardrails | |
| run: bash scripts/check-install-commands.sh | |
| - name: Canonical sister guardrails | |
| run: bash scripts/check-canonical-sister.sh |