Skip to content

Communicate data back #12

Communicate data back

Communicate data back #12

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install alsa and udev
run: sudo apt-get update -yq; sudo apt-get install -yq --no-install-recommends libasound2-dev libudev-dev
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2.6.0
- name: fmt
run: cargo fmt --all -- --check
- name: build
run: cargo build
- name: clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test --verbose