Skip to content

Merge pull request #9 from diondokter/Fix-build #11

Merge pull request #9 from diondokter/Fix-build

Merge pull request #9 from diondokter/Fix-build #11

Workflow file for this run

name: CI
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy, rustfmt, llvm-tools-preview
targets: thumbv8m.main-none-eabihf
- run: cargo fmt -- --check
- run: cargo clippy --features nrf9160 --target thumbv8m.main-none-eabihf
- run: cargo clippy --features nrf9120 --target thumbv8m.main-none-eabihf