Refactor of stream_all_messages, fix flaky stream tests #1871
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: warp-ubuntu-latest-x64-4x | |
steps: | |
- uses: actions/checkout@v1 | |
- run: rustup update | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
. | |
bindings_ffi | |
- uses: actions-rs/clippy-check@v1 | |
name: Lint main workspace | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: workspace | |
args: --all-features --all-targets --no-deps | |
- uses: actions-rs/clippy-check@v1 | |
name: Lint ffi | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: ffi | |
args: --all-features --all-targets --no-deps --manifest-path bindings_ffi/Cargo.toml | |
- name: Format | |
run: cargo fmt --check | |
- name: Lint and fail on warnings | |
run: cargo clippy --no-deps --all-targets --all-features -- -Dwarnings | |
- name: Lint and fail on warnings | |
run: cargo clippy --all-features --all-targets --no-deps --manifest-path bindings_ffi/Cargo.toml -- -Dwarnings |