Skip to content

Commit 53f7cc4

Browse files
committed
Update test.yml
1 parent d98de12 commit 53f7cc4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: rustup
13+
- name: Add wasm32-wasip2 target
1414
run: rustup target add wasm32-wasip2
1515
- name: Install cargo-binstall
1616
uses: cargo-bins/[email protected]
@@ -21,11 +21,11 @@ jobs:
2121
shell: bash
2222
run: |
2323
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
2626
shell: bash
2727
run: cargo component check
28-
- name: test
28+
- name: Run cargo test
2929
shell: bash
3030
run: cargo component test
3131

@@ -34,9 +34,9 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v4
37-
- name: rustup
37+
- name: Install wasm32-wasip2 target
3838
run: rustup target add wasm32-wasip2
39-
- name: clippy
39+
- name: Run cargo clippy
4040
run: cargo clippy -- -Dwarnings
41-
- name: fmt
41+
- name: Run cargo fmt
4242
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)