Skip to content

chore: release 0.6.2 #417

chore: release 0.6.2

chore: release 0.6.2 #417

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: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- name: Test macros
run: cd unimock_macros && cargo test
- name: Test std
run: cargo hack --feature-powerset --features std --exclude-features default,spin-lock,nightly-tests,unstable-doc-cfg test
- name: Test no_std
run: cargo hack --feature-powerset --features critical-section --exclude-features std,mock-std,default,nightly-tests,unstable-doc-cfg test
- name: Doctest
run: cargo test --doc --features mock-core,mock-std
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
test-nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- name: Test nightly features
run: cargo test --all --all-features