Fix waveform validation and rendering edge cases #16
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - name: Check formatting | |
| run: cargo fmt --all --check | |
| clippy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Lint workspace | |
| run: cargo clippy --workspace --all-targets --all-features -- -D warnings | |
| library-matrix: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: default | |
| command: cargo test -p audiowaveform | |
| - name: no-default-features | |
| command: cargo test -p audiowaveform --no-default-features | |
| - name: decode | |
| command: cargo test -p audiowaveform --no-default-features --features decode | |
| - name: render | |
| command: cargo test -p audiowaveform --no-default-features --features render | |
| - name: wav | |
| command: cargo test -p audiowaveform --no-default-features --features wav | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Run ${{ matrix.name }} | |
| run: ${{ matrix.command }} | |
| workspace: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Test workspace | |
| run: cargo test --workspace | |
| - name: Check examples | |
| run: cargo check --workspace --examples |