Update to eh-1.0, eh-mock 0.10 (not released), leh 0.4.0 (not released) #424
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: Rust | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- beta | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install ARM toolchain | |
run: rustup target add thumbv7em-none-eabihf | |
- name: Check Fmt | |
run: cargo fmt --all -- --check | |
- name: Build lib | |
run: cargo check --lib --verbose | |
- name: Build examples | |
continue-on-error: true | |
run: cargo build --examples --all-targets --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Build docs | |
run: cargo doc | |
- name: Clippy | |
continue-on-error: true | |
run: cargo clippy --all-targets -- -D warnings -A clippy::new_ret_no_self | |