Skip to content

fix: delete broken task-dump examples and fix CI to catch example failures #490

fix: delete broken task-dump examples and fix CI to catch example failures

fix: delete broken task-dump examples and fix CI to catch example failures #490

Workflow file for this run

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