Skip to content

Commit 513bf16

Browse files
committed
Don't pass --all to cargo in ci
1 parent 794c91b commit 513bf16

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
name: CI
77

88
env:
9-
CARGO_ARGS: --all --features ssl
9+
CARGO_ARGS: --features ssl
1010

1111
jobs:
1212
rust_tests:
@@ -112,6 +112,11 @@ jobs:
112112
with:
113113
command: clippy
114114
args: ${{ env.CARGO_ARGS }} -- -Dwarnings
115+
- name: run clippy on wasm
116+
uses: actions-rs/cargo@v1
117+
with:
118+
command: clippy
119+
args: --manifest-path=wasm/lib/Cargo.toml -- -Dwarnings
115120
- uses: actions/setup-python@v1
116121
with:
117122
python-version: 3.8

wasm/lib/src/convert.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use std::cell::RefCell;
2-
31
use js_sys::{Array, ArrayBuffer, Object, Promise, Reflect, SyntaxError, Uint8Array};
42
use wasm_bindgen::{closure::Closure, prelude::*, JsCast};
53

0 commit comments

Comments
 (0)