File tree Expand file tree Collapse file tree 1 file changed +5
-30
lines changed Expand file tree Collapse file tree 1 file changed +5
-30
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ defaults:
24
24
shell : bash
25
25
26
26
jobs :
27
- cache : # Warm cache factory for all other CI jobs
28
- name : Check and Build
27
+ test :
28
+ name : Test
29
29
strategy :
30
30
fail-fast : true
31
31
matrix :
@@ -36,18 +36,14 @@ jobs:
36
36
runs-on : ${{ matrix.os }}
37
37
steps :
38
38
- uses : taiki-e/checkout-action@v1
39
-
40
39
- uses : Boshen/setup-rust@main
41
40
with :
42
41
save-cache : ${{ github.ref_name == 'main' }}
43
42
cache-key : warm
44
-
43
+ - uses : ./.github/actions/pnpm
45
44
- run : cargo check --all-features --locked
46
-
47
- # Only need to build the test to create a warm cache on the main branch
48
- - name : Build cache by Cargo Check and Cargo Test
49
- if : ${{ github.ref_name == 'main' }}
50
- run : cargo test --all-features --no-run
45
+ - run : cargo test --doc
46
+ - run : cargo test --all-features
51
47
52
48
wasm :
53
49
name : Check Wasm
@@ -117,24 +113,3 @@ jobs:
117
113
with :
118
114
components : rust-docs
119
115
- run : RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --all-features
120
-
121
- test :
122
- name : Test
123
- strategy :
124
- fail-fast : true
125
- matrix :
126
- include :
127
- - os : windows-latest
128
- - os : ubuntu-latest
129
- - os : macos-14
130
- runs-on : ${{ matrix.os }}
131
- env :
132
- RUST_BACKTRACE : 1
133
- steps :
134
- - uses : taiki-e/checkout-action@v1
135
- - uses : ./.github/actions/pnpm
136
- - uses : Boshen/setup-rust@main
137
- with :
138
- cache-key : warm
139
- - run : cargo test --doc
140
- - run : cargo test --all-features
You can’t perform that action at this time.
0 commit comments