Skip to content

Add dep to CI

Add dep to CI #85

Workflow file for this run

# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
#
on: [push, pull_request]
name: CI
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v3
- name: Install deps
run: sudo apt-get install -y libxcursor-dev libasound2-dev libjack-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcb-ewmh-dev
- name: Setup | Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt, clippy
override: true
- name: Setup | Cache
uses: Swatinem/rust-cache@v2
- name: Run | check
run: cargo check --workspace
- name: Run | test
run: cargo test --workspace
- name: Run | fmt
run: cargo fmt --all -- --check
- name: Run | clippy
run: cargo clippy --workspace -- -D warnings