Skip to content

bump to 0.4

bump to 0.4 #14

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: CI
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Packages
run: sudo apt-get update -yq
- name: Install dependencies
run: sudo apt-get install -yq --no-install-recommends libudev-dev libasound2-dev libxcb-composite0-dev
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Cache Dependencies
uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
- name: Install fmt
run: rustup component add rustfmt
- name: fmt
run: cargo fmt --all -- --check
- name: check
run: cargo check
- name: Install clippy
run: rustup component add clippy
- name: run clippy
run: cargo clippy -- -D warnings
- name: test
run: cargo test