Skip to content

Doc update

Doc update #1173

Workflow file for this run

name: rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- name: Build (Default)
run: cargo build
- name: Test (Default)
run: cargo test -- --nocapture
- name: Build (All features)
run: cargo build --all-features
- name: Test (All features)
run: cargo test --all-features -- --nocapture
- name: Coding style
run: cargo fmt --all -- --check