File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
- - name : rustup
13
+ - name : Add wasm32-wasip2 target
14
14
run : rustup target add wasm32-wasip2
15
15
- name : Install cargo-binstall
16
16
uses :
cargo-bins/[email protected]
@@ -21,11 +21,11 @@ jobs:
21
21
shell : bash
22
22
run : |
23
23
curl https://wasmtime.dev/install.sh -sSf | bash
24
- source ~/.bashrc
25
- - name : check
24
+ export PATH="$HOME/.wasmtime/bin:$PATH"
25
+ - name : Run cargo check
26
26
shell : bash
27
27
run : cargo component check
28
- - name : test
28
+ - name : Run cargo test
29
29
shell : bash
30
30
run : cargo component test
31
31
34
34
runs-on : ubuntu-latest
35
35
steps :
36
36
- uses : actions/checkout@v4
37
- - name : rustup
37
+ - name : Install wasm32-wasip2 target
38
38
run : rustup target add wasm32-wasip2
39
- - name : clippy
39
+ - name : Run cargo clippy
40
40
run : cargo clippy -- -Dwarnings
41
- - name : fmt
41
+ - name : Run cargo fmt
42
42
run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments