diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e73e99a4..c7118f59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,7 @@ jobs: - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: + toolchain: nightly profile: minimal override: true @@ -94,14 +95,14 @@ jobs: key: rust-${{ matrix.target }}-${{ matrix.rust_toolchain }}-cargo-registry-directory-${{ hashFiles('Cargo.lock') }}-v1 - name: Cargo check release code with default features - run: cargo check --workspace + run: cargo +nightly check --workspace - name: Cargo check all features - run: cargo check --workspace --all-targets --all-features + run: cargo +nightly check --workspace --all-targets --all-features - name: Cargo test if: (!matrix.skip_tests) - run: cargo test --workspace --all-features + run: cargo +nightly test --workspace --all-features -- -Z unstable-options --report-time env: MONERO_ADDITIONAL_SLEEP_PERIOD: 60000 RUST_MIN_STACK: 10000000