Skip to content

Impl Data for Box<dyn Future<Output = ()>> #395

Impl Data for Box<dyn Future<Output = ()>>

Impl Data for Box<dyn Future<Output = ()>> #395

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Install Dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
- name: Build core
run: cargo build --workspace --verbose
- name: Build
run: cargo build --workspace --features full --verbose
- name: Clippy
run: |
rustup toolchain install nightly --component clippy
rustup override set nightly
cargo clippy --workspace -- -D warnings
cargo clippy --workspace --features full -- -D warnings
- name: Run tests
run: cargo test --workspace --features full --verbose
- name: Install Miri
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
- name: Test with Miri
run: cargo miri test --workspace --features full --verbose