From 7df2c9d434b49f7062a8f64605440cefd772adc0 Mon Sep 17 00:00:00 2001 From: RAprogramm Date: Wed, 17 Dec 2025 06:57:34 +0700 Subject: [PATCH] #11 refactor: simplify Rultor merge script --- .rultor.yml | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/.rultor.yml b/.rultor.yml index 28e7750..3d057cb 100644 --- a/.rultor.yml +++ b/.rultor.yml @@ -4,41 +4,18 @@ architect: docker: image: rust:1.91 -install: | - rustup toolchain install nightly - rustup component add rustfmt --toolchain nightly - rustup component add clippy --toolchain stable - rustup component add llvm-tools-preview --toolchain stable - cargo install cargo-nextest --locked - cargo install cargo-llvm-cov --locked - merge: script: | - echo "=== Format check (nightly) ===" - cargo +nightly fmt --all -- --check - - echo "=== Clippy (stable) ===" - cargo clippy --workspace --all-targets --all-features -- -D warnings - - echo "=== Tests (nextest) ===" - cargo nextest run --workspace --all-features --no-fail-fast - - echo "=== Doctests ===" - cargo test --doc --workspace --all-features - - echo "=== Coverage check ===" - cargo llvm-cov --workspace --all-features --fail-under-lines 95 - - echo "=== Package check ===" - cargo package --locked + echo "CI passed, merging" release: pre: false commanders: - RAprogramm script: | + rustup toolchain install nightly + rustup component add rustfmt --toolchain nightly sed -i "s/^version = .*/version = \"${tag}\"/" Cargo.toml cargo +nightly fmt --all cargo check --all-features - cargo package --locked --allow-dirty git commit -am "Release ${tag}"