Skip to content

Commit

Permalink
actions: check cli
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh-tekuri committed Dec 27, 2024
1 parent d2339b3 commit 4ed669e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -56,4 +67,4 @@ jobs:
with:
target: wasm32-unknown-emscripten
- name: Check
run: cargo check --target wasm32-unknown-emscripten
run: cargo check --target wasm32-unknown-emscripten

0 comments on commit 4ed669e

Please sign in to comment.