diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63cc7b4e..bf453bc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,9 @@ jobs: - name: Run cargo fmt (examples/logging) run: cargo fmt --all --manifest-path=examples/logging/Cargo.toml -- --check + - name: Run cargo fmt (examples/lora) + run: cargo fmt --all --manifest-path=examples/lora/Cargo.toml -- --check + - name: Run cargo fmt (examples/m17) run: cargo fmt --all --manifest-path=examples/m17/Cargo.toml -- --check @@ -300,6 +303,9 @@ jobs: - name: Run cargo clippy (examples/logging) run: cargo clippy --all-targets --manifest-path=examples/logging/Cargo.toml -- -D warnings + - name: Run cargo clippy (examples/lora) + run: cargo clippy --all-targets --manifest-path=examples/lora/Cargo.toml -- -D warnings + - name: Run cargo clippy (examples/m17) run: cargo clippy --all-targets --manifest-path=examples/m17/Cargo.toml -- -D warnings diff --git a/check.sh b/check.sh index 86cb3e72..af166205 100755 --- a/check.sh +++ b/check.sh @@ -44,6 +44,7 @@ cd ${SCRIPTPATH}/examples/firdes && cargo fmt --check cd ${SCRIPTPATH}/examples/fm-receiver && cargo fmt --check cd ${SCRIPTPATH}/examples/keyfob && cargo fmt --check cd ${SCRIPTPATH}/examples/logging && cargo fmt --check +cd ${SCRIPTPATH}/examples/lora && cargo fmt --check cd ${SCRIPTPATH}/examples/m17 && cargo fmt --check cd ${SCRIPTPATH}/examples/macros && cargo fmt --check cd ${SCRIPTPATH}/examples/rattlegram && cargo fmt --check @@ -98,6 +99,7 @@ cd ${SCRIPTPATH}/examples/firdes && cargo clippy --all-targets -- -D warnings cd ${SCRIPTPATH}/examples/fm-receiver && cargo clippy --all-targets -- -D warnings cd ${SCRIPTPATH}/examples/keyfob && cargo clippy --all-targets -- -D warnings cd ${SCRIPTPATH}/examples/logging && cargo clippy --all-targets -- -D warnings +cd ${SCRIPTPATH}/examples/lora && cargo clippy --all-targets -- -D warnings cd ${SCRIPTPATH}/examples/m17 && cargo clippy --all-targets -- -D warnings cd ${SCRIPTPATH}/examples/macros && cargo clippy --all-targets -- -D warnings cd ${SCRIPTPATH}/examples/rattlegram && cargo clippy --all-targets -- -D warnings @@ -149,6 +151,7 @@ cd ${SCRIPTPATH}/examples/firdes && cargo test --all-targets cd ${SCRIPTPATH}/examples/fm-receiver && cargo test --all-targets cd ${SCRIPTPATH}/examples/keyfob && cargo test --all-targets cd ${SCRIPTPATH}/examples/logging && cargo test --all-targets +cd ${SCRIPTPATH}/examples/lora && cargo test --all-targets cd ${SCRIPTPATH}/examples/m17 && cargo test --all-targets cd ${SCRIPTPATH}/examples/macros && cargo test --all-targets cd ${SCRIPTPATH}/examples/rattlegram && cargo test --all-targets