Skip to content

Update rust-clippy.yml #24

Update rust-clippy.yml

Update rust-clippy.yml #24

Workflow file for this run

name: Rust
permissions:
contents: read
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: sudo apt-get install -y libasound2-dev libudev-dev
- name: Cache build artifacts
uses: actions/[email protected]
with:
key: "rust-cache"
path: |
**/target
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose