Skip to content

feat: add clippy rules to the package and check in CI #3

feat: add clippy rules to the package and check in CI

feat: add clippy rules to the package and check in CI #3

Workflow file for this run

name: Check Build
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Check lint
run: cargo clippy --all-targets --all-features -- -D warnings