Skip to content

Merge feat/flowclone-image: extract .flowimg format into a shared crate #64

Merge feat/flowclone-image: extract .flowimg format into a shared crate

Merge feat/flowclone-image: extract .flowimg format into a shared crate #64

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
rust:
name: Rust (fmt + clippy + test)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Build CLI sidecar
# flowclone-desktop's tauri-build script resolves the externalBin
# `binaries/flowclone-<triple>`, which is gitignored, so the workspace
# cannot compile (clippy/test) until it exists.
run: bash scripts/build-sidecar.sh
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --workspace
frontend:
name: Frontend (typecheck + build)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm typecheck
- name: Build
run: pnpm --filter desktop build