ci: gate tines-core 1.x changes against the published 1.0.0
cargo-semver-checks with a pinned 1.0.0 baseline in scripts/ci.sh (skipped where the tool is absent); the GitHub Actions ci job installs a prebuilt binary so the gate is enforced there.
This commit is contained in:
@@ -24,3 +24,10 @@ sh scripts/check-no-std.sh
|
||||
# compiling on the pinned stable toolchain, or the scheduled job rots unseen.
|
||||
cargo fmt --manifest-path fuzz/Cargo.toml -- --check
|
||||
cargo clippy --locked --manifest-path fuzz/Cargo.toml --all-targets -- -D warnings
|
||||
# Post-1.0.0 release gate: every 1.x change to tines-core must stay
|
||||
# semver-compatible with the published 1.0.0. Skipped where the tool is not
|
||||
# installed (`cargo install cargo-semver-checks --locked`); the GitHub Actions
|
||||
# `ci` job installs a prebuilt binary so the gate is enforced there.
|
||||
if command -v cargo-semver-checks >/dev/null 2>&1; then
|
||||
cargo semver-checks check-release -p tines-core --baseline-version 1.0.0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user