Skip to content

feat(diagrams): achieve 100% diagram suite perfection and resolve all… #138

feat(diagrams): achieve 100% diagram suite perfection and resolve all…

feat(diagrams): achieve 100% diagram suite perfection and resolve all… #138

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
check-and-test:
name: Build & Test (Rust ${{ matrix.rust }})
runs-on: ubuntu-latest
strategy:
matrix:
rust: [ stable, beta ]
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
- name: Cargo Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo Check
run: cargo check --all-targets
- name: Cargo Fmt Check
run: cargo fmt --all -- --check
- name: Run Tests
run: cargo test --all-targets -- --nocapture