diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1f6363f..5ce8eda 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -32,15 +32,6 @@ jobs: - run: sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - run: cargo check --workspace --no-default-features - check-examples: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - - run: sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - - run: cargo check --examples - clippy: runs-on: ubuntu-latest steps: @@ -80,4 +71,12 @@ jobs: - uses: Swatinem/rust-cache@v2 - run: sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - run: cargo test --workspace --all-features --doc - + + test-examples: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - run: sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + - run: cargo test --examples