File tree Expand file tree Collapse file tree 2 files changed +14
-25
lines changed Expand file tree Collapse file tree 2 files changed +14
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
12
+ strategy :
13
+ matrix :
14
+ rust :
15
+ - stable
16
+ - beta
17
+ - nightly
18
+ - 1.51.0 # Minimum supported rust version (MSRV)
19
+
12
20
steps :
13
21
- uses : actions/checkout@v2
14
22
15
23
- name : Install Rust
16
24
uses : actions-rs/toolchain@v1
17
25
with :
18
- toolchain : stable
19
26
profile : minimal
20
- target : thumbv6m-none-eabi
27
+ toolchain : ${{ matrix.rust }}
21
28
override : true
29
+ target : thumbv6m-none-eabi
22
30
components : rustfmt, clippy
23
31
24
32
- name : rustfmt
25
33
run : cargo fmt -- --check
26
34
27
- - name : clippy
28
- run : cargo clippy --color=always -- -D warnings
29
-
30
35
- name : build
31
36
run : cargo build --target=thumbv6m-none-eabi
32
37
38
+ - name : clippy
39
+ run : cargo clippy --color=always -- -D warnings
40
+
33
41
- name : build examples
34
- run : .github/scripts/ build- examples.sh
42
+ run : cargo build -- examples --target=thumbv6m-none-eabi
35
43
36
44
You can’t perform that action at this time.
0 commit comments