From 8686877afb321ac0a5a460cd096560df76f8ced8 Mon Sep 17 00:00:00 2001 From: Orion Yeung <11580988+orionyeung001@users.noreply.github.com> Date: Thu, 22 Aug 2024 12:47:42 -0500 Subject: [PATCH] ci: try both nightly and stable rust for tests --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c031691..b624abe9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,12 +41,13 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] + toolchain_version: [dtolnay/rust-toolchain@stable, dtolnay/rust-toolchain@nightly] steps: - uses: actions/checkout@v4 - - name: Install Rust stable - uses: dtolnay/rust-toolchain@stable + - name: Install Rust + uses: ${{ matrix.toolchain_version }} - name: Test default features - run: cargo test --all-targets + run: cargo test --all-targets --no-fail-fast