Make separate message sender task #114
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: {} | |
| env: | |
| RUSTFLAGS: -Dwarnings | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: clippy, rustfmt | |
| - uses: swatinem/rust-cache@v2 | |
| - uses: arduino/setup-protoc@v3 | |
| - name: clippy | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: clippy | |
| args: --all --all-targets --all-features | |
| - name: rustfmt | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: fmt | |
| args: --all -- --check | |
| - name: cargo-machete | |
| uses: bnjbvr/cargo-machete@main | |
| check-docs: | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTDOCFLAGS: -D broken-intra-doc-links | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - uses: swatinem/rust-cache@v2 | |
| - uses: arduino/setup-protoc@v3 | |
| - name: cargo doc | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: doc | |
| args: --all-features --no-deps | |
| check-toml: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - uses: swatinem/rust-cache@v2 | |
| - name: taplo | |
| run: | | |
| cargo install taplo-cli --locked | |
| taplo fmt --check --diff | |
| taplo lint | |
| check-proto: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: bufbuild/buf-action@v1 | |
| with: | |
| push: false | |
| pr_comment: false | |
| breaking: false | |
| test: | |
| needs: check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - uses: swatinem/rust-cache@v2 | |
| - uses: arduino/setup-protoc@v3 | |
| - name: Install gnuplot | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gnuplot | |
| - name: test | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: test | |
| args: --all --all-features --all-targets | |
| test-docs: | |
| needs: check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - uses: swatinem/rust-cache@v2 | |
| - uses: arduino/setup-protoc@v3 | |
| - name: doc tests | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: test | |
| args: --all-features --doc |