File tree Expand file tree Collapse file tree 3 files changed +16
-33
lines changed Expand file tree Collapse file tree 3 files changed +16
-33
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,11 @@ jobs:
27
27
TARGET : x86_64-unknown-linux-gnu
28
28
29
29
steps :
30
- - uses : actions/checkout@v2
31
- - uses : actions-rs/ toolchain@v1
30
+ - uses : actions/checkout@v3
31
+ - uses : dtolnay/rust- toolchain@master
32
32
with :
33
- profile : minimal
34
33
toolchain : ${{ matrix.rust }}
35
- target : ${{ matrix.TARGET }}
36
- override : true
34
+ targets : ${{ matrix.TARGET }}
37
35
- uses : actions-rs/cargo@v1
38
36
with :
39
37
command : check
@@ -47,13 +45,11 @@ jobs:
47
45
TARGET : [x86_64-unknown-linux-gnu, thumbv6m-none-eabi, thumbv7m-none-eabi]
48
46
49
47
steps :
50
- - uses : actions/checkout@v2
51
- - uses : actions-rs/ toolchain@v1
48
+ - uses : actions/checkout@v3
49
+ - uses : dtolnay/rust- toolchain@master
52
50
with :
53
- profile : minimal
54
51
toolchain : ${{ matrix.rust }}
55
- target : ${{ matrix.TARGET }}
56
- override : true
52
+ targets : ${{ matrix.TARGET }}
57
53
- run : cargo check --target=${{ matrix.TARGET }}
58
54
working-directory : embedded-nal-async
59
55
- run : cargo test --target=${{ matrix.TARGET }}
Original file line number Diff line number Diff line change 8
8
clippy_check :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions-rs/ toolchain@v1
11
+ - uses : actions/checkout@v3
12
+ - uses : dtolnay/rust- toolchain@stable
13
13
with :
14
- profile : minimal
15
- toolchain : stable
16
- override : true
17
14
components : clippy
18
15
- uses : actions-rs/clippy-check@v1
19
16
with :
22
19
clippy_check_async :
23
20
runs-on : ubuntu-latest
24
21
steps :
25
- - uses : actions/checkout@v2
26
- - uses : actions-rs/ toolchain@v1
22
+ - uses : actions/checkout@v3
23
+ - uses : dtolnay/rust- toolchain@nightly
27
24
with :
28
- profile : minimal
29
- toolchain : nightly-2022-11-22
30
- override : true
31
25
components : clippy
32
26
- run : cargo clippy
33
27
working-directory : embedded-nal-async
Original file line number Diff line number Diff line change @@ -10,27 +10,20 @@ jobs:
10
10
name : Rustfmt
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
14
- - uses : actions-rs/ toolchain@v1
13
+ - uses : actions/checkout@v3
14
+ - uses : dtolnay/rust- toolchain@stable
15
15
with :
16
- profile : minimal
17
- toolchain : stable
18
- override : true
19
16
components : rustfmt
20
- - uses : actions-rs/cargo@v1
21
- with :
22
- command : fmt
23
- args : --all -- --check
17
+ - run : cargo fmt --all -- --check
18
+
24
19
fmt-async :
25
20
name : Rustfmt
26
21
runs-on : ubuntu-latest
27
22
steps :
28
- - uses : actions/checkout@v2
29
- - uses : actions-rs/ toolchain@v1
23
+ - uses : actions/checkout@v3
24
+ - uses : dtolnay/rust- toolchain@master
30
25
with :
31
- profile : minimal
32
26
toolchain : nightly-2022-11-22
33
- override : true
34
27
components : rustfmt
35
28
- run : cargo fmt --all -- --check
36
29
working-directory : embedded-nal-async
You can’t perform that action at this time.
0 commit comments