Skip to content

Add event-based API to Client #77

Add event-based API to Client

Add event-based API to Client #77

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- toolchain: stable
- toolchain: 1.63.0
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust.toolchain }}
components: clippy, rustfmt
- name: Pin dependencies for MSRV
if: matrix.rust.toolchain == '1.63.0'
run: |
cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5"
cargo update -p time --precise "0.3.20"
cargo update -p home --precise "0.5.5"
cargo update -p tokio --precise "1.37.0"
- name: Lint all targets
run: cargo clippy --all-targets
- name: Format
run: cargo fmt -- --check
- name: Build with default features
run: cargo build --verbose
- name: Check release build on Rust ${{ matrix.rust.toolchain }}
run: cargo check --release --verbose --color always
- name: Test
run: cargo test --verbose