aca 0.3.1

A Rust-based agentic tool that automates coding tasks using Claude Code and OpenAI Codex CLI integrations
Documentation
name: Benchmark

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  benchmark:
    name: Performance Benchmarks
    runs-on: ubuntu-latest
    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository

    steps:
    - uses: actions/checkout@v4

    - name: Install Rust
      uses: dtolnay/rust-toolchain@stable

    - name: Cache cargo registry
      uses: actions/cache@v3
      with:
        path: ~/.cargo/registry
        key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

    - name: Cache cargo index
      uses: actions/cache@v3
      with:
        path: ~/.cargo/git
        key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}

    - name: Cache cargo build
      uses: actions/cache@v3
      with:
        path: target
        key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}

    - name: Run benchmarks
      run: cargo test --release --all-features -- --ignored benchmark

    # TODO: Re-enable when benchmark compilation issues are resolved
    # - name: Store benchmark result
    #   uses: benchmark-action/github-action-benchmark@v1
    #   if: github.event_name == 'push'
    #   with:
    #     tool: 'cargo'
    #     output-file-path: target/criterion/reports/benchmark.json
    #     github-token: ${{ secrets.GITHUB_TOKEN }}
    #     auto-push: true
    #     comment-on-alert: true
    #     alert-threshold: '200%'
    #     fail-on-alert: false