Separate grpc channel connection from create_client
#1914
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 Workspace | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- ".github/workflows/lint-workspace.yaml" | |
- "mls_validation_service/**" | |
- "xmtp_api_grpc/**" | |
- "xmtp_api_http/**" | |
- "xmtp_cryptography/**" | |
- "xmtp_id/**" | |
- "xmtp_mls/**" | |
- "xmtp_proto/**" | |
- "xmtp_v2/**" | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "rust-toolchain" | |
- "rustfmt.toml" | |
env: | |
CARGO_TERM_COLOR: always | |
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: | | |
. | |
- name: Run clippy and fail on warnings | |
# Exclude bindings_wasm since it only compiles for wasm32 | |
run: cargo clippy --workspace --all-features --all-targets --no-deps --exclude bindings_wasm -- -Dwarnings | |
- name: Run format check | |
run: cargo fmt --check |