From 5989fc4f1687c65c8fa6a7e7a1da00eee36529c7 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Sun, 26 Jun 2022 10:29:32 +0100 Subject: [PATCH] Demo minimal-versions failure --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 884cf3f..70c4847 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,3 +45,21 @@ jobs: - name: Run tests run: cargo test --all --verbose --features fancy + minimal_versions: + name: Minimal versions check + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + + steps: + - uses: actions/checkout@v1 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + override: true + - name: Run minimal version build + run: cargo build -Z minimal-versions --all-features +