Skip to content

Commit

Permalink
ci: enable unstable for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Aug 8, 2024
1 parent 34a0246 commit 8ac70b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -70,7 +70,7 @@ jobs:
fail-fast: false
matrix:
include:
- {ubuntu: 20.04, rust: nightly}
- {ubuntu: latest, rust: nightly}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -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
Expand Down

0 comments on commit 8ac70b9

Please sign in to comment.