Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

feat(install): auto-provision flowctl binary on SessionStart #40

feat(install): auto-provision flowctl binary on SessionStart

feat(install): auto-provision flowctl binary on SessionStart #40

Workflow file for this run

name: Rust CI
on:
push:
branches: [main]
paths:
- "flowctl/**"
- ".github/workflows/ci.yml"
pull_request:
paths:
- "flowctl/**"
- ".github/workflows/ci.yml"
env:
CARGO_TERM_COLOR: always
defaults:
run:
working-directory: flowctl
jobs:
check:
name: Check / Test / Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Cache cargo registry & build
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
flowctl/target
key: ${{ runner.os }}-cargo-${{ hashFiles('flowctl/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: cargo fmt --check
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-targets -- -D warnings
- name: cargo build
run: cargo build --all-targets
- name: cargo test
run: cargo test --all-targets