Skip to content

Update recommended VSCode plugins #1453

Update recommended VSCode plugins

Update recommended VSCode plugins #1453

name: Run test suite
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
run-tests:
name: Run test suite on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install dependencies
run: sudo apt update && sudo apt install libasound2-dev libudev-dev
- name: Ensure code is properly formatted
run: cargo fmt --all -- --check
- name: Ensure all lints pass
run: cargo clippy --workspace
- name: Build
run: cargo build --workspace
- name: Run tests
run: cargo test --workspace
run-tests-wasm:
name: Run checks on Linux (WASM)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Ensure all lints pass
run: cargo clippy --workspace --target wasm32-unknown-unknown
- name: Build
run: cargo build --workspace --target wasm32-unknown-unknown