Skip to content

Commit

Permalink
chore: update ci to use --all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
threadexio committed Mar 10, 2024
1 parent 43700e2 commit 3e02e3c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ on:

jobs:
check:
strategy:
fail-fast: false
matrix:
features: ["full", "full,tokio", "full,futures"]
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt --check --all
- run: cargo clippy --package channels --no-default-features --features ${{ matrix.features }}
- run: cargo clippy --package channels --all-features

test:
strategy:
Expand All @@ -29,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --workspace --features full,tokio
- run: cargo test --workspace --all-features

doc:
runs-on: ubuntu-latest
Expand All @@ -39,7 +35,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
- run: cargo +nightly doc --workspace --no-deps --features full,tokio
- run: cargo +nightly doc --workspace --no-deps --all-features

miri:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3e02e3c

Please sign in to comment.