File tree Expand file tree Collapse file tree 1 file changed +7
-29
lines changed Expand file tree Collapse file tree 1 file changed +7
-29
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ concurrency:
16
16
cancel-in-progress : ${{ github.ref_name != 'main' }}
17
17
18
18
jobs :
19
- check :
20
- name : Check
19
+ test :
20
+ name : Check & Test
21
21
strategy :
22
22
fail-fast : false
23
23
matrix :
34
34
steps :
35
35
- uses : actions/checkout@v3
36
36
37
- - name : Install extra deps
37
+ - name : Install Wasm deps
38
38
if : matrix.env.CARGO_BUILD_TARGET == 'wasm32-wasi'
39
39
run : |
40
40
rustup target add wasm32-wasi
@@ -50,10 +50,10 @@ jobs:
50
50
- run : rustup show
51
51
52
52
- name : Cargo Check
53
- shell : bash
54
- run : |
55
- cargo check --all-targets --all-features --locked
56
- cargo test --no-run --all-targets --all-features
53
+ run : cargo check --all-targets --all-features --locked
54
+
55
+ - name : Cargo Test
56
+ run : cargo test --all-targets --all-features
57
57
58
58
format :
59
59
name : Format
79
79
- run : rustup show
80
80
81
81
- run : cargo clippy -- -D warnings
82
-
83
- test :
84
- name : Test
85
- strategy :
86
- fail-fast : false
87
- matrix :
88
- include :
89
- - os : windows-latest
90
- - os : ubuntu-latest
91
- - os : macos-latest
92
- runs-on : ${{ matrix.os }}
93
- steps :
94
- - uses : actions/checkout@v3
95
-
96
- - uses : Swatinem/rust-cache@v2
97
- with :
98
- shared-key : ci
99
- save-if : false
100
-
101
- - run : rustup show
102
-
103
- - run : cargo test
You can’t perform that action at this time.
0 commit comments