Skip to content

fix(spinner): truncate label to terminal width; move transcript hint … #90

fix(spinner): truncate label to terminal width; move transcript hint …

fix(spinner): truncate label to terminal width; move transcript hint … #90

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Rust fmt, clippy, test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cargo fmt
run: cargo fmt --all -- --check
- name: Cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Cargo test
# Wrap in `timeout` so any future per-test hang aborts the job
# with a clear "took too long" instead of burning the whole
# 6-hour Actions budget. The known-flaky
# run_command_with_workspace_id_creates_managed_workspace_directory
# test reaches the review phase and (in environments that DO
# have `claude` on PATH) waits the full agent_timeout; CI doesn't
# have claude installed today but the test is still worth
# skipping defensively so the hang can't sneak back in.
timeout-minutes: 12
run: cargo test --all --no-fail-fast -- --skip run_command_with_workspace_id_creates_managed_workspace_directory
- name: Cargo publish dry-run
run: cargo publish --dry-run --allow-dirty