feat(git): add git review-url to resolve an issue's Linear review URL
#185
Workflow file for this run
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 | |
| # Thin PR Check for the linear-cli repo. Runs only on Blacksmith's Linux pool | |
| # so the shared Blacksmith free tier is not burned by macOS/Windows builds. | |
| # See .github/CI.md and docs/adr/0001-pr-check-blacksmith-local-release.md for | |
| # why this is Linux-only and how the budget modes gate it. | |
| on: | |
| push: | |
| branches: [master, main] | |
| paths-ignore: | |
| - "docs/**" | |
| - "skills/**" | |
| - "**/*.md" | |
| - "LICENSE" | |
| pull_request: | |
| branches: [master, main] | |
| paths-ignore: | |
| - "docs/**" | |
| - "skills/**" | |
| - "**/*.md" | |
| - "LICENSE" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| pr-check: | |
| name: PR Check | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| # Budget mode gate: | |
| # normal (unset/empty) -> run | |
| # thin -> skip (Win-CodexBar priority) | |
| # off -> skip | |
| if: vars.CI_BUDGET_MODE != 'off' && vars.CI_BUDGET_MODE != 'thin' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Linux keyring build deps | |
| run: sudo apt-get update && sudo apt-get install -y libdbus-1-dev pkg-config | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Run tests | |
| run: cargo test --verbose --features secure-storage | |
| - name: Check formatting | |
| run: cargo fmt --check | |
| - name: Run clippy | |
| run: cargo clippy --features secure-storage -- -D warnings | |
| # Keep a default-features build green so crates.io installs without | |
| # secure-storage still compile. | |
| - name: Build without secure-storage | |
| run: cargo build --verbose |