From 1645a70168ca012bcf6f2cab42271dd51ae682a2 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Mon, 12 Feb 2024 21:01:20 +0100 Subject: Use dynamic MSRV for oldstable CI Instead of manually specifying the oldstable version in all our CI scripts, it is now pulled from the `Cargo.toml` which simplifies the update process. The contributing guide has also been updated to not include the explicit version and its wording has been loosened a bit to correctly represent current maintenance practices. --- .builds/linux.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.builds/linux.yml') diff --git a/.builds/linux.yml b/.builds/linux.yml index f2e9038a..e036261b 100644 --- a/.builds/linux.yml +++ b/.builds/linux.yml @@ -34,8 +34,9 @@ tasks: cargo test - oldstable: | cd alacritty - rustup toolchain install --profile minimal 1.70.0 - rustup default 1.70.0 + oldstable=$(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/') + rustup toolchain install --profile minimal $oldstable + rustup default $oldstable cargo test - clippy: | cd alacritty -- cgit v1.2.3-54-g00ecf