1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-04-21 12:06:58 +02:00
rustlings/release-hook.sh
2025-02-18 20:17:27 +01:00

17 lines
285 B
Bash
Executable File

#!/bin/bash
# Error out if any command fails
set -e
typos
cargo upgrades
# Similar to CI
cargo clippy -- --deny warnings
cargo fmt --all --check
cargo test --workspace --all-targets
cargo run -- dev check --require-solutions
# MSRV
cargo +1.85 run -- dev check --require-solutions