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