adding cargo doc #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Rust Checks" | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/rust-checks.yml" | |
- "rust/**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: kuliya - latest | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} | |
- run: rustup default ${{ matrix.toolchain }} | |
- run: rustup component add clippy | |
- run: cd rust && cargo clippy --all-features -- -Dwarnings | |
- run: cd rust && cargo build --verbose | |
- run: cd rust && cargo test --verbose | |
- run: cd rust && cargo test --verbose --lib --bins --tests --features serde_derive | |
- run: cd rust && cargo test --verbose --lib --bins --tests --no-default-features --features storage | |
- run: cd rust && cargo test --verbose --all-features |