From 049cde8677c5b20e9b398aa91acd15ee6f0e3754 Mon Sep 17 00:00:00 2001 From: Gaute Hope Date: Thu, 8 Aug 2024 11:19:57 +0200 Subject: [PATCH] ci: enable unstable for nightly --- .github/workflows/rust.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 868869f..da452c6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -57,11 +57,11 @@ jobs: with: toolchain: '${{matrix.rust}}' - name: Build and test all crates - run: cargo test -vv --workspace + run: cargo test -vv --workspace ${{matrix.rust == 'nightly' && '--features unstable' }} - name: Build and test all docs - run: cargo test -vv --workspace --doc + run: cargo test -vv --workspace --doc "${{matrix.rust == 'nightly' && '--features' && 'unstable' }}" - name: Build examples - run: cargo b --examples --verbose + run: cargo b --examples --verbose "${{matrix.rust == 'nightly' && '--features' && 'unstable' }}" bench: name: Benchmark @@ -79,7 +79,7 @@ jobs: with: toolchain: '${{matrix.rust}}' - name: Build and bench - run: cargo bench -vv --workspace + run: cargo bench -vv --workspace --features unstable audit: name: Audit