fix: CI quick-checks - fmt, taplo, umbrella version

This commit is contained in:
2026-01-07 17:19:27 +03:00
parent 5a48ce4498
commit f68c21c77a
38 changed files with 120 additions and 2984 deletions
@@ -39,7 +39,7 @@ serde = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
[dev-dependencies]
# bizinikiwi-test-runtime = { workspace = true } # publish=false
bizinikiwi-test-runtime = { workspace = true }
cmd_lib = { workspace = true }
pretty_assertions = { workspace = true }
@@ -47,7 +47,7 @@ pretty_assertions = { workspace = true }
# `cargo build --feature=generate-readme` updates the `README.md` file.
generate-readme = []
runtime-benchmarks = [
# "bizinikiwi-test-runtime/runtime-benchmarks",
"bizinikiwi-test-runtime/runtime-benchmarks",
"pezsc-chain-spec/runtime-benchmarks",
]
std = [
@@ -32,12 +32,18 @@ const DUMMY_PATH: &str = "fake-runtime-path";
const OUTPUT_FILE: &str = "/tmp/chain_spec_builder.test_output_file.json";
// Get the chain-spec-builder binary path from environment
fn get_chain_spec_builder_bin() -> String {
std::env::var("CARGO_BIN_EXE_chain-spec-builder")
.expect("CARGO_BIN_EXE_chain-spec-builder must be set - run with `cargo test`")
}
// Used for running commands visually pleasing in doc tests.
macro_rules! bash(
( chain-spec-builder $($a:tt)* ) => {{
let bin_path = env!("CARGO_BIN_EXE_chain-spec-builder");
let bin = get_chain_spec_builder_bin();
spawn_with_output!(
$bin_path $($a)*
$bin $($a)*
)
.expect("a process running. qed")
.wait_with_output()