feat: bash tool change attribution via filesystem snapshots, codex fixes #1163
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: Git Core Compatibility | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| merge_group: | |
| branches: [main] | |
| jobs: | |
| git-core-tests: | |
| name: Run core Git tests with git-ai | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Rust toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| override: true | |
| - name: Cache dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ubuntu-cargo-${{ hashFiles('Cargo.lock') }} | |
| restore-keys: | | |
| ubuntu-cargo- | |
| - name: Build git-ai | |
| run: cargo build --release --bin git-ai | |
| - name: Run core Git compatibility tests | |
| run: python3 tests/git-compat/run-core-tests.py |