Skip to content

add workspace && gen docs #4

add workspace && gen docs

add workspace && gen docs #4

Workflow file for this run

name: Rust
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Cache Cargo registry
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install Rust
uses: actions-rs/toolchain@v2
with:
toolchain: stable
override: true
- name: Build
run: cargo build --workspace --verbose
- name: Run tests
run: cargo test --workspace --verbose