Skip to content

Commit

Permalink
Add clippy and formatting checks to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Guggi committed Sep 15, 2024
1 parent 1b3b25f commit c708dff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ jobs:
- name: Run tests
run: cargo test --release --features mock

static-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
run: sudo apt install libudev-dev
- name: Clippy
run: cargo clippy -- -D warnings
- name: Formatting
run: cargo fmt --all --check

cross-compile:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c708dff

Please sign in to comment.