Skip to content

Fix check-demo: use --output+--quiet for JSON diff to avoid ACE_SUMMA… #83

Fix check-demo: use --output+--quiet for JSON diff to avoid ACE_SUMMA…

Fix check-demo: use --output+--quiet for JSON diff to avoid ACE_SUMMA… #83

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
check:
name: Check & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.94.1
with:
components: clippy, rustfmt
- name: Cache cargo registry & build
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy lints
run: cargo clippy --workspace --exclude ace-tauri --all-targets
- name: Run tests
run: cargo test --workspace --exclude ace-tauri
- name: Build release
run: cargo build --workspace --exclude ace-tauri --release