Fix name #38
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 | |
env: | |
CARGO_TERM_COLOR: always | |
ENV RUSTFLAGS: "-Dwarnings" | |
ENV RUSTDOCFLAGS: "-Dwarnings" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: rustup target add thumbv7em-none-eabihf | |
- name: Lint | |
run: | | |
cargo fmt --check | |
cargo clippy --release | |
- name: Build | |
run: cargo build --release | |
- name: Run tests | |
run: cargo test --release |