chore(deps): bump embedded-hal from 0.2.7 to 1.0.0 #20
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: Branches | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches-ignore: | |
- "release-please-*" | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
name: Installing Rust Toolchain | |
with: | |
profile: default | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
target: thumbv7em-none-eabi | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v2.7.1 | |
- uses: actions-rs/cargo@v1 | |
name: Cargo fmt | |
with: | |
command: fmt | |
args: --all -- --check | |
- uses: actions-rs/cargo@v1 | |
name: Cargo clippy | |
with: | |
command: clippy | |
args: --release -- -D warnings | |
- uses: actions-rs/cargo@v1 | |
name: Cargo build | |
with: | |
command: build | |
args: --release | |
- uses: actions-rs/cargo@v1 | |
name: Cargo build examples | |
with: | |
command: build | |
args: --examples --target thumbv7em-none-eabi |