File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ env :
5+ RUSTFLAGS : -Dwarnings
6+
7+ jobs :
8+ check_and_test :
9+ name : It builds and tests pass
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Add wasm32-wasip2 target
14+ run : rustup target add wasm32-wasip2
15+ - name : Install cargo-binstall
16+ uses : cargo-bins/cargo-binstall@v1.10.15
17+ - name : Install cargo-component
18+ shell : bash
19+ run : cargo binstall cargo-component
20+ - name : Run cargo check
21+ shell : bash
22+ run : cargo component check
23+
24+ check_style :
25+ name : It follows all style conventions
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v4
29+ - name : Install wasm32-wasip2 target
30+ run : rustup target add wasm32-wasip2
31+ - name : Run cargo clippy
32+ run : cargo clippy -- -Dwarnings
33+ - name : Run cargo fmt
34+ run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments