Skip to content

Improve style

Improve style #13

Workflow file for this run

# Check that the project can build
name: Check build
# Check links on the 2nd day of the month.
# 2nd as the first letter of this repo is the 2nd letter in the alphabet.
on:
push:
pull_request:
schedule:
- cron: "0 0 2 * *"
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install ALSA, adapted from https://stackoverflow.com/a/57728808
run: sudo apt-get install -y libasound2-dev libwebkit2gtk-4.0
- name: Install udev, from https://stackoverflow.com/a/74529205
run: sudo apt-get install -y libudev-dev
- uses: actions-rs/cargo@v1
with:
command: check
args: --release --all-features
#- uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release --all-features