diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 59b0f60..fb51eda 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -29,12 +29,17 @@ jobs: test: name: Test Suite runs-on: ubuntu-latest + strategy: + matrix: + features: + - --no-default-features + - --features=default + - --all-features steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - run: cargo test - - run: cargo test --all-features - - run: cargo test --no-default-features + - name: Install stable toolchain + uses: dtolnay/rust-toolchain@stable + - run: cargo test ${{ matrix.features }} fmt: name: Rustfmt