Skip to content

Merge pull request #159 from rust-embedded-community/remove-stacked-b… #535

Merge pull request #159 from rust-embedded-community/remove-stacked-b…

Merge pull request #159 from rust-embedded-community/remove-stacked-b… #535

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Check formatting
run: cargo fmt -- --check
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
features: ['log', 'defmt-log', '""']
steps:
- uses: actions/checkout@v1
- name: Build
run: cargo build --no-default-features --features ${{matrix.features}} --verbose
- name: Run Tests
run: cargo test --no-default-features --features ${{matrix.features}} --verbose