From a24c5b5bb9fde4615856e20b66de96f3a8a61025 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 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c031691..9b8b657c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,7 +46,11 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust stable uses: dtolnay/rust-toolchain@stable + - name: Install Rust stable + uses: dtolnay/rust-toolchain@nightly - - name: Test default features - run: cargo test --all-targets + - name: Test default features on stable + run: cargo +stable test --all-targets + - name: Test default features on nightly + run: cargo +nightly test --all-targets