File tree Expand file tree Collapse file tree 3 files changed +21
-42
lines changed Expand file tree Collapse file tree 3 files changed +21
-42
lines changed Original file line number Diff line number Diff line change @@ -20,40 +20,30 @@ jobs:
20
20
nightly
21
21
]
22
22
steps :
23
- - name : Rust install
24
- uses : dtolnay/rust-toolchain@master
23
+ - uses : actions/checkout@v3
24
+ - uses : dtolnay/rust-toolchain@master
25
25
with :
26
26
toolchain : ${{ matrix.rust }}
27
- - name : Checkout
28
- uses : actions/checkout@v3
29
- - name : Build
30
- run : cargo build
31
- - name : Test
32
- run : ./ci/test_full.sh
27
+ - run : cargo build
28
+ - run : ./ci/test_full.sh
33
29
34
30
# try a target that doesn't have std at all, but does have alloc
35
31
no_std :
36
32
name : No Std
37
33
runs-on : ubuntu-latest
38
34
steps :
39
- - name : Rust install
40
- uses : dtolnay/rust-toolchain@stable
35
+ - uses : actions/checkout@v3
36
+ - uses : dtolnay/rust-toolchain@stable
41
37
with :
42
38
target : thumbv6m-none-eabi
43
- - name : Checkout
44
- uses : actions/checkout@v3
45
- - name : Build
46
- run : cargo build --target thumbv6m-none-eabi --no-default-features --features "libm rand serde"
39
+ - run : cargo build --target thumbv6m-none-eabi --no-default-features --features "libm rand serde"
47
40
48
41
fmt :
49
42
name : Format
50
43
runs-on : ubuntu-latest
51
44
steps :
52
- - name : Rust install
53
- uses : dtolnay/rust-toolchain@1.62.0
45
+ - uses : actions/checkout@v3
46
+ - uses : dtolnay/rust-toolchain@1.62.0
54
47
with :
55
48
components : rustfmt
56
- - name : Checkout
57
- uses : actions/checkout@v3
58
- - name : Check formatting
59
- run : cargo fmt --all --check
49
+ - run : cargo fmt --all --check
Original file line number Diff line number Diff line change 15
15
matrix :
16
16
rust : [1.31.0, stable]
17
17
steps :
18
- - name : Rust install
19
- uses : dtolnay/rust-toolchain@master
18
+ - uses : actions/checkout@v3
19
+ - uses : dtolnay/rust-toolchain@master
20
20
with :
21
21
toolchain : ${{ matrix.rust }}
22
- - name : Checkout
23
- uses : actions/checkout@v3
24
- - name : Build
25
- run : cargo build
26
- - name : Test
27
- run : ./ci/test_full.sh
22
+ - run : cargo build
23
+ - run : ./ci/test_full.sh
Original file line number Diff line number Diff line change @@ -11,26 +11,19 @@ jobs:
11
11
matrix :
12
12
rust : [1.31.0, stable]
13
13
steps :
14
- - name : Rust install
15
- uses : dtolnay/rust-toolchain@master
14
+ - uses : actions/checkout@v3
15
+ - uses : dtolnay/rust-toolchain@master
16
16
with :
17
17
toolchain : ${{ matrix.rust }}
18
- - name : Checkout
19
- uses : actions/checkout@v3
20
- - name : Build
21
- run : cargo build
22
- - name : Test
23
- run : ./ci/test_full.sh
18
+ - run : cargo build
19
+ - run : ./ci/test_full.sh
24
20
25
21
fmt :
26
22
name : Format
27
23
runs-on : ubuntu-latest
28
24
steps :
29
- - name : Rust install
30
- uses : dtolnay/rust-toolchain@1.62.0
25
+ - uses : actions/checkout@v3
26
+ - uses : dtolnay/rust-toolchain@1.62.0
31
27
with :
32
28
components : rustfmt
33
- - name : Checkout
34
- uses : actions/checkout@v3
35
- - name : Check formatting
36
- run : cargo fmt --all --check
29
+ - run : cargo fmt --all --check
You can’t perform that action at this time.
0 commit comments