File tree Expand file tree Collapse file tree 2 files changed +10
-33
lines changed Expand file tree Collapse file tree 2 files changed +10
-33
lines changed Original file line number Diff line number Diff line change @@ -21,29 +21,15 @@ jobs:
2121 TARGET : x86_64-unknown-linux-gnu
2222
2323 steps :
24- - uses : actions/checkout@v2
25-
26- - uses : actions-rs/toolchain@v1
24+ - uses : actions/checkout@v3
25+ - uses : dtolnay/rust-toolchain@master
2726 with :
28- profile : minimal
2927 toolchain : ${{ matrix.rust }}
30- target : ${{ matrix.TARGET }}
31- override : true
28+ targets : ${{ matrix.TARGET }}
3229
3330 - name : Install libusb library
3431 run : sudo apt-get install -y libusb-1.0.0-dev
3532
36- - uses : actions-rs/cargo@v1
37- with :
38- command : check
39- args : --all-targets
40-
41- - uses : actions-rs/cargo@v1
42- with :
43- command : check
44- args : --features control-buffer-256
45-
46- - uses : actions-rs/cargo@v1
47- with :
48- command : check
49- args : --features defmt
33+ - run : cargo check --all-targets
34+ - run : cargo check --features control-buffer-256
35+ - run : cargo check --features defmt
Original file line number Diff line number Diff line change 1010 name : Rustfmt
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
14- - uses : actions-rs/ toolchain@v1
13+ - uses : actions/checkout@v3
14+ - uses : dtolnay/rust- toolchain@stable
1515 with :
16- profile : minimal
17- toolchain : stable
18- override : true
1916 components : rustfmt
20- - uses : actions-rs/cargo@v1
21- with :
22- command : fmt
23- args : --all -- --check
24- - uses : actions-rs/cargo@v1
25- with :
26- command : clippy
27- args : --all-features
17+ - run : cargo fmt --all -- --check
18+ - run : cargo clippy --all-features
You can’t perform that action at this time.
0 commit comments