Skip to content

Commit

Permalink
chore: test examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nixon-voxell committed Jun 5, 2024
1 parent 376ef64 commit 24f4a74
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 24f4a74

Please sign in to comment.