fix: delete broken task-dump examples and fix CI to catch example failures #490
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: Formatting and Linting | |
| on: [pull_request, merge_group] | |
| jobs: | |
| fmt: | |
| name: Cargo fmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run fmt check | |
| shell: bash | |
| run: cargo fmt --all -- --check | |
| clippy: | |
| name: Cargo clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run clippy check | |
| shell: bash | |
| env: | |
| RUSTFLAGS: "--cfg tokio_unstable" | |
| run: cargo clippy --all-targets --all-features -- -D warnings |