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