From b1a2110752d2b5d60c2a15b1c9a690d94c63495a Mon Sep 17 00:00:00 2001 From: Mina Matta Date: Tue, 20 Feb 2024 02:45:51 +1100 Subject: [PATCH] Enforced Nightly toolchain for test --- .github/workflows/rust.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aa63bd3..62ef942 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -60,7 +60,7 @@ jobs: # Determines if the cache should be saved even when the workflow has failed. # default: "false" - cache-on-failure: "false" + cache-on-failure: "true" # Determines which crates are cached. # If `true` all crates will be cached, otherwise only dependent crates will be cached. @@ -91,9 +91,14 @@ jobs: needs: build-env steps: - - name: Checkout repository - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + profile: minimal - - name: Perform Test - run: | - cargo +nightly test --release + - name: Perform Test + run: | + cargo +nightly test --release