feat(plugin): add PreToolUse hooks for Read and Agent(Explore) #42
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] | |
| jobs: | |
| check: | |
| name: Check & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - 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: Clippy (no embedding) | |
| run: cargo clippy --no-default-features -- -D warnings | |
| - name: Clippy (with embedding) | |
| run: cargo clippy -- -D warnings |