@@ -3,54 +3,54 @@ name: Build
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
7
- runs-on : ubuntu-latest
8
- strategy :
9
- fail-fast : false
10
- matrix :
11
- rust :
12
- - nightly
13
- - beta
14
- - stable
15
- - 1.56.0 # MSRV
16
- features :
17
- - " "
18
- - --no-default-features --features alloc
19
- - --features clippy
20
-
21
- env :
22
- RUST_BACKTRACE : 1
23
-
24
- steps :
25
- - uses : actions/checkout@v3
26
-
27
- - uses : dtolnay/rust-toolchain@master
28
- with :
29
- toolchain : ${{ matrix.rust }}
30
-
31
- - name : core crate
32
- run : |
33
- cd derive_builder_core
34
- cargo build ${{ matrix.features }} --verbose
35
- cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
36
- cargo doc
37
-
38
- - name : macro crate
39
- run : |
40
- cd derive_builder_macro
41
- cargo build ${{ matrix.features }} --verbose
42
- cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
43
- cargo doc
44
-
45
- - name : main crate
46
- run : |
47
- cd derive_builder
48
- cargo build ${{ matrix.features }} --verbose
49
- cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
50
- cargo doc
51
-
52
- - name : no_std tests crate
53
- run : |
54
- cd derive_builder_no_std_tests
55
- cargo build ${{ matrix.features }} --verbose
56
- cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ rust :
12
+ - nightly
13
+ - beta
14
+ - stable
15
+ - 1.56.0 # MSRV
16
+ features :
17
+ - " "
18
+ - --no-default-features --features alloc
19
+ - --features clippy
20
+
21
+ env :
22
+ RUST_BACKTRACE : 1
23
+
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+
27
+ - uses : dtolnay/rust-toolchain@master
28
+ with :
29
+ toolchain : ${{ matrix.rust }}
30
+
31
+ - name : core crate
32
+ run : |
33
+ cd derive_builder_core
34
+ cargo build ${{ matrix.features }} --verbose
35
+ cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
36
+ cargo doc
37
+
38
+ - name : macro crate
39
+ run : |
40
+ cd derive_builder_macro
41
+ cargo build ${{ matrix.features }} --verbose
42
+ cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
43
+ cargo doc
44
+
45
+ - name : main crate
46
+ run : |
47
+ cd derive_builder
48
+ cargo build ${{ matrix.features }} --verbose
49
+ cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
50
+ cargo doc
51
+
52
+ - name : no_std tests crate
53
+ run : |
54
+ cd derive_builder_no_std_tests
55
+ cargo build ${{ matrix.features }} --verbose
56
+ cargo test --no-fail-fast ${{ matrix.features }} --verbose -- --nocapture
0 commit comments