Skip to content

Commit

Permalink
fix: Also check for errors and warnings in use_camera hook in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Jan 9, 2025
1 parent 2ca99fd commit 0652bf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Check examples
run: cargo check --examples
- name: Lint
run: cargo clippy --workspace --examples --features docs -- -D warnings
run: cargo clippy --workspace --examples --features "docs, use_camera" -- -D warnings
- name: Format
run: cargo +nightly fmt --all --check -- --error-on-unformatted --unstable-features
- name: Run Linux tests
Expand Down
2 changes: 0 additions & 2 deletions crates/hooks/src/use_camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use dioxus_hooks::{
use_signal,
};
use dioxus_signals::{
CopyValue,
ReadOnlySignal,
Readable,
Signal,
Expand All @@ -40,7 +39,6 @@ use nokhwa::{
};

use crate::{
use_node,
use_node_with_reference,
use_platform,
};
Expand Down

0 comments on commit 0652bf1

Please sign in to comment.