Skip to content

Introduce a generic Transport trait to support multiple SD card protocols #554

Introduce a generic Transport trait to support multiple SD card protocols

Introduce a generic Transport trait to support multiple SD card protocols #554

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check formatting
run: cargo fmt -- --check
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
# Always run MSRV too!
rust: ["stable", "1.76"]
features: ['log', 'defmt-log', '""']
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- 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