use open_volume with parameter instead of two different functions #37
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] | |
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 |