File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 8
8
latest_version : ' 1.78.0'
9
9
10
10
jobs :
11
- testlatest :
12
- name : Test Latest
11
+ test :
12
+ name : Test
13
13
runs-on : ${{ matrix.os }}
14
14
strategy :
15
15
matrix :
26
26
- uses : Swatinem/rust-cache@v2
27
27
- run : cargo test --all-features --workspace --lib --tests --profile "ci"
28
28
29
+ # Check step to ensure that all targets are valid as the test step doesn't run them.
30
+ check :
31
+ name : Check
32
+ runs-on : ${{ matrix.os }}
33
+ strategy :
34
+ matrix :
35
+ os :
36
+ - windows-latest
37
+ - ubuntu-latest
38
+ - macos-latest
39
+ steps :
40
+ - uses : actions/checkout@v2
41
+ - name : Install Rust
42
+ uses : dtolnay/rust-toolchain@stable
43
+ with :
44
+ toolchain : ${{ env.latest_version }}
45
+ - uses : Swatinem/rust-cache@v2
46
+ - run : cargo test --all-features --all-targets --workspace --lib --tests --profile "ci"
47
+
29
48
docs :
30
49
name : Documentation
31
50
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments