File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ push :
5+
6+ env :
7+ RUSTFLAGS : -Dwarnings
8+
9+ jobs :
10+ build_and_test :
11+ name : Build and test
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@master
15+ - name : Install Rust
16+ uses : actions-rs/toolchain@v1
17+ with :
18+ toolchain : stable
19+ target : wasm32-wasip2
20+ - name : check
21+ uses : actions-rs/cargo@v1
22+ with :
23+ command : check
24+ args : --workspace
25+
26+ - name : test
27+ uses : actions-rs/cargo@v1
28+ with :
29+ command : test
30+ args : --workspace
31+
32+ check_fmt_and_docs :
33+ name : Checking fmt and docs
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@master
37+ - name : Install Rust
38+ uses : actions-rs/toolchain@v1
39+ with :
40+ toolchain : stable
41+ target : wasm32-wasip2
42+ - name : Format
43+ cmd : cargo fmt --all -- --check
44+ - name : Docs
45+ cmd : cargo doc
46+
You can’t perform that action at this time.
0 commit comments