Skip to content

Fixes #29 - Stop adding lifetimes to trait generic params #197

Fixes #29 - Stop adding lifetimes to trait generic params

Fixes #29 - Stop adding lifetimes to trait generic params #197

Workflow file for this run

name: Rust
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@cargo-hack
- name: Test feature powerset
run: cargo hack --feature-powerset --exclude-features "default use-associated-futures nightly-tests" --exclude-no-default-features test
- name: Test workspace
run: cargo test --workspace --features "boxed-futures"
- name: Doctest
run: cargo test --doc --features "unimock use-boxed-futures"
- name: Clippy
run: cargo clippy --features "unimock use-boxed-futures" -- -D warnings
- name: Build examples
run: cargo build --all
test-nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: taiki-e/install-action@cargo-hack
- name: Test nightly features
run: cargo hack --feature-powerset --exclude-features "default boxed-futures use-boxed-futures" --exclude-no-default-features test