From 004978c55cb647e9d6c8210952a732640e6d0a49 Mon Sep 17 00:00:00 2001 From: Mina Matta Date: Tue, 20 Feb 2024 02:40:46 +1100 Subject: [PATCH] Enforced Nightly toolchain for test --- .github/workflows/rust.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2e14035..aa63bd3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,10 +20,6 @@ jobs: override: true profile: minimal - - name: Perform Build - run: | - cargo +nightly build --release - - uses: Swatinem/rust-cache@v2 with: # The prefix cache key, this can be changed to start a new cache manually. @@ -85,6 +81,11 @@ jobs: # default: "github" cache-provider: "github" + - name: Perform Build + run: | + cargo +nightly build --release + + test: runs-on: ubuntu-latest needs: build-env @@ -95,4 +96,4 @@ jobs: - name: Perform Test run: | - cargo test --release + cargo +nightly test --release