Skip to content

Merge pull request #31 from audunhalland/next #224

Merge pull request #31 from audunhalland/next

Merge pull request #31 from audunhalland/next #224

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" --exclude-no-default-features test
- name: Test workspace
run: cargo test --workspace --features "unimock"
- name: Doctest
run: cargo test --doc --features "unimock"
- name: Clippy
run: cargo clippy --features "unimock" -- -D warnings
- name: Build examples
run: cargo build --all