Skip to content

feat: replace all implementation stubs with real functionality (#7) #36

feat: replace all implementation stubs with real functionality (#7)

feat: replace all implementation stubs with real functionality (#7) #36

Workflow file for this run

name: CI
on:
push:
branches: [main, "001-*"]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
check:
name: Check / Test / Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
version: "27.x"
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: cargo fmt --check
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --workspace --all-targets
- name: cargo test
run: cargo test --workspace
- name: cargo check (all targets)
run: cargo check --workspace --all-targets