name: Perf (lightweight)
# Nightly-only. See plans/binary-bifurcation.md Phase A.8: push-trigger removed
# because post-merge perf runs were burning 15+ min without actionable signal.
on:
schedule:
- cron: "40 3 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
perf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.94.0
- uses: Swatinem/rust-cache@v2
- name: Run tests (including perf guards)
run: cargo test --all --all-features
- name: Run benchmarks (smoke)
run: cargo bench --bench perf -- --sample-size 10