summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-02-12 21:01:20 +0100
committerKirill Chibisov <contact@kchibisov.com>2024-02-14 01:20:49 +0400
commit1645a70168ca012bcf6f2cab42271dd51ae682a2 (patch)
treeafd9cc1091a9a42e61ec2333686795a6fee100ed /.github
parent5c4469ffa7727b7a8d82f3f8261613a30591b4de (diff)
downloadalacritty-1645a70168ca012bcf6f2cab42271dd51ae682a2.tar.gz
alacritty-1645a70168ca012bcf6f2cab42271dd51ae682a2.zip
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0a0b5f6f..573c4e0f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,7 +21,7 @@ jobs:
run: cargo test -p alacritty_terminal --no-default-features
- name: Oldstable
run: |
- rustup default 1.70.0
+ rustup default $(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
cargo test
- name: Clippy
run: |