feat(list): fall back to first body line when description missing #4
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-14, ubuntu-22.04, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install Linux deps | |
| if: matrix.os == 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libsoup-3.0-dev pkg-config | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Install frontend deps | |
| working-directory: frontend | |
| run: bun install --frozen-lockfile | |
| - name: cargo test | |
| run: cargo test --workspace | |
| - name: cargo clippy (warnings only) | |
| run: cargo clippy --workspace --all-targets -- -D warnings || true | |
| - name: Build frontend | |
| working-directory: frontend | |
| run: bun run build | |
| - name: ts-rs drift gate | |
| working-directory: frontend | |
| run: | | |
| bun run build:ipc-barrel | |
| if [ -n "$(git status --porcelain src/types/ipc/)" ]; then | |
| echo "::error::ts-rs export drift detected. Run 'cargo test --workspace && bun run build:ipc-barrel' and commit." | |
| git diff --stat src/types/ipc/ | |
| exit 1 | |
| fi | |
| shell: bash | |
| - name: Tauri debug build (smoke test) | |
| run: cargo build -p claude-code-gui |