Run clippy, docs and tests for tines-core with --no-default-features, gating the MemStore-based tests on `alloc` so they compile there. Fail on rustdoc warnings, pass --locked everywhere, and pin the toolchain to 1.99.0. In the workflow, use read-only permissions, cancel superseded runs, add a 20-minute timeout, and pin actions to commit SHAs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
469 B
Bash
Executable File
11 lines
469 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
cargo fmt --all -- --check
|
|
cargo clippy --locked --workspace --all-targets -- -D warnings
|
|
cargo clippy --locked -p tines-core --no-default-features --all-targets -- -D warnings
|
|
RUSTDOCFLAGS="-D warnings" cargo doc --locked --workspace --no-deps
|
|
RUSTDOCFLAGS="-D warnings" cargo doc --locked -p tines-core --no-deps --no-default-features
|
|
cargo test --locked --workspace
|
|
cargo test --locked -p tines-core --no-default-features
|
|
sh scripts/check-no-std.sh
|