refactor: use Box<dyn FnMut>
for PubSub
filter functions to allow…
#206
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: Cargo Build & Test | |
on: | |
push: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
build_and_test: | |
name: Rust project - latest | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
# - beta | |
# - nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- run: cargo build --no-default-features --verbose | |
- run: cargo build --no-default-features --features macros --verbose | |
- run: cargo build --no-default-features --features tracing --verbose | |
- run: cargo build --no-default-features --features remote --verbose | |
- run: RUSTFLAGS="--cfg tokio_unstable" cargo build --verbose | |
- run: cargo test --features remote --verbose | |
- run: cargo clippy --features remote |