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

chore: bump version to 0.1.31 #60

chore: bump version to 0.1.31

chore: bump version to 0.1.31 #60

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths:
- "flowctl/**"
- ".github/workflows/ci.yml"
pull_request:
branches: [main]
paths:
- "flowctl/**"
- ".github/workflows/ci.yml"
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: flowctl
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: Check formatting
run: cargo fmt --all -- --check
- name: Build
run: cargo build --all-targets
- name: Run tests
run: cargo test --all-targets
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
coverage:
name: Test Coverage
runs-on: ubuntu-latest
needs: [test]
defaults:
run:
working-directory: flowctl
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain with llvm-tools
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Cache cargo registry & build
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
flowctl/target
key: ${{ runner.os }}-cargo-cov-${{ hashFiles('flowctl/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-cov-
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate coverage report
run: cargo llvm-cov --all --lcov --output-path lcov.info
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: flowctl/lcov.info
retention-days: 30