From 4ed669e85dc95fd40f1eca7b4fc2c929cee27ed7 Mon Sep 17 00:00:00 2001 From: Santhosh Kumar Tekuri Date: Fri, 27 Dec 2024 21:11:19 +0530 Subject: [PATCH] actions: check cli --- .github/workflows/rust.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index df5d34c..e5f2505 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -45,6 +45,17 @@ jobs: run: cargo doc env: RUSTFLAGS: -D warnings + - name: check cli formatting + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --manifest-path=cli/Cargo.toml --all -- --check + - name: check cli linting + uses: actions-rs/cargo@v1 + with: + command: clippy + args: --manifest-path=cli/Cargo.toml --all-targets --all-features -- -D warnings + wasm: runs-on: ubuntu-latest steps: @@ -56,4 +67,4 @@ jobs: with: target: wasm32-unknown-emscripten - name: Check - run: cargo check --target wasm32-unknown-emscripten \ No newline at end of file + run: cargo check --target wasm32-unknown-emscripten