Message Stream Test + Fixes #443
Workflow file for this run
This file contains 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: Lint WASM Bindings | |
on: | |
pull_request: | |
paths: | |
- "bindings_wasm/**" | |
- ".github/workflows/lint-wasm-bindings.yaml" | |
- "rustfmt.toml" | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- ".cargo/**" | |
- "rust-toolchain" | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_INCREMENTAL: 0 | |
RUSTFLAGS: -D warnings --cfg tracing_unstable | |
CARGO_PROFILE_TEST_DEBUG: 0 | |
jobs: | |
lint: | |
name: Lint | |
runs-on: warp-ubuntu-latest-x64-16x | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Update rust toolchains | |
run: rustup update | |
- name: Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
bindings_wasm | |
- name: Run clippy and fail on warnings | |
run: cargo clippy --locked --manifest-path bindings_wasm/Cargo.toml --all-features --target wasm32-unknown-unknown --no-deps -- -D warnings | |
- name: Run format check | |
run: cargo fmt --manifest-path bindings_wasm/Cargo.toml --check |