13
13
continue-on-error : ${{ matrix.experimental || false }}
14
14
strategy :
15
15
matrix :
16
- # All generated code should be running on stable now
17
- # TODO: Also test nightly
18
- # rust: [nightly, stable]
19
- rust : [stable]
20
- # include:
21
- # # Nightly is only for reference and allowed to fail
22
- # - rust: nightly
23
- # experimental: true
24
16
# os:
25
17
# # Check compilation works on common OSes
26
18
# # (i.e. no path issues)
@@ -30,10 +22,10 @@ jobs:
30
22
runs-on : [ubuntu-latest] # ${{ matrix.os }}
31
23
steps :
32
24
- uses : actions/checkout@v3
33
- - uses : dtolnay/rust-toolchain@master
34
- with :
35
- toolchain : ${{ matrix.rust }}
36
- target : thumbv6m-none-eabi
25
+
26
+ - name : Setup Rust toolchain
27
+ run : rustup show
28
+
37
29
- run : cargo install flip-link
38
30
- run : cargo build -p ledmatrix
39
31
- run : cargo build -p b1display
@@ -65,10 +57,10 @@ jobs:
65
57
- uses : actions/checkout@v3
66
58
with :
67
59
submodules : true
68
- - uses : dtolnay/rust-toolchain@stable
69
- with :
70
- components : clippy
71
- target : thumbv6m-none-eabi
60
+
61
+ - name : Setup Rust toolchain
62
+ run : rustup show
63
+
72
64
- run : |
73
65
cargo clippy -p b1display -- --deny=warnings
74
66
cargo clippy -p c1minimal -- --deny=warnings
81
73
- uses : actions/checkout@v3
82
74
with :
83
75
submodules : true
84
- - uses : dtolnay/rust-toolchain@stable
85
- with :
86
- components : rustfmt
87
- target : thumbv6m-none-eabi
76
+
77
+ - name : Setup Rust toolchain
78
+ run : rustup show
79
+
88
80
- run : cargo fmt --all -- --check
0 commit comments