Skip to content

Commit

Permalink
Update linters-cargo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranduy1dol authored Jun 25, 2024
1 parent 859dee4 commit 2934add
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linters-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Format and clippy
run: |
sudo apt install build-essential cmake pkg-config libudev-dev
RUSTFLAGS="--cfg tokio_unstable" cargo fmt -- --check
RUSTFLAGS="--cfg tokio_unstable" cargo clippy --no-deps -- -D warnings
RUSTFLAGS="--cfg tokio_unstable" cargo clippy --tests --no-deps -- -D warnings

0 comments on commit 2934add

Please sign in to comment.