worktrunk 0.42.0

A CLI for Git worktree management, designed for parallel AI agent workflows
Documentation
name: nightly-benchmark
# Runner versions pinned; see ci.yaml header comment for rationale.

on:
  schedule:
    # Run at 4:17 UTC every day (off-peak minute)
    - cron: '17 4 * * *'
  workflow_dispatch:

env:
  CARGO_TERM_COLOR: always
  CARGO_INCREMENTAL: 0
  RUSTFLAGS: -C debuginfo=0

jobs:
  benchmark:
    runs-on: ubuntu-24.04
    steps:
    - name: 📂 Checkout code
      uses: actions/checkout@v6

    - name: 💰 Cargo cache
      uses: Swatinem/rust-cache@v2

    - name: 💰 Rust repo cache
      uses: actions/cache@v5
      with:
        path: target/bench-repos
        key: bench-repos-rust-${{ runner.os }}

    - name: 📊 Run all benchmarks
      run: cargo bench --bench list

    - name: 📦 Upload benchmark results
      uses: actions/upload-artifact@v7
      with:
        name: benchmark-results-${{ github.run_id }}
        path: target/criterion