File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-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 : Install cargo-binstall
14
+ uses :
cargo-bins/[email protected]
15
+ - name : Install wkg
16
+ shell : bash
17
+ run : cargo binstall cargo-component
18
+ - name : Install Wasmtime
19
+ shell : bash
20
+ run : curl https://wasmtime.dev/install.sh -sSf | bash
21
+ - name : check
22
+ shell : bash
23
+ run : cargo component check
24
+ - name : test
25
+ shell : bash
26
+ run : cargo component test
27
+
28
+ check_style :
29
+ name : It follows all style conventions
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - name : clippy
34
+ run : cargo clippy -- -Dwarnings
35
+ - name : fmt
36
+ run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments