rustuse 0.1.2

Unified facade crate for the published RustUse sets and child crates
Documentation
name: CI

on:
    pull_request:
    push:
        branches:
            - main

permissions:
    contents: read

jobs:
    workspace:
        name: Rust Workspace CI
        runs-on: ubuntu-latest
        steps:
            - name: Check out repository
              uses: actions/checkout@v4

            - name: Install stable Rust toolchain
              uses: actions-rust-lang/setup-rust-toolchain@v1
              with:
                  components: rustfmt, clippy
                  rustflags: ""
                  cache-workspaces: |
                      . -> target

            - name: Check formatting
              run: cargo fmt --all -- --check

            - name: Lint workspace
              run: cargo clippy --workspace --all-targets --all-features -- -D warnings

            - name: Run tests
              run: cargo test --workspace --all-features

            - name: Build workspace
              run: cargo build --workspace --all-features