From f7c4153b4dc35fa66fed273e97745a7a75cebfe8 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Wed, 13 Jan 2021 17:04:19 +0200 Subject: [PATCH] ci: add minimal-versions check and test --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dfbeef4..7e8bceee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,4 +21,9 @@ jobs: run: cargo clippy --all-features -- -D warnings - run: cargo build --no-default-features --verbose - run: cargo test --features="master resolv resolv-sync sign tsig validate" --verbose - + - if: matrix.rust == 'nightly' + run: | + cargo +nightly update -Z minimal-versions + cargo check --features="master resolv resolv-sync sign tsig validate" --verbose --all-targets + cargo test --features="master resolv resolv-sync sign tsig validate" + name: Check and test with minimal-versions