File tree Expand file tree Collapse file tree 5 files changed +28
-56
lines changed Expand file tree Collapse file tree 5 files changed +28
-56
lines changed Original file line number Diff line number Diff line change 11on :
22 push :
3- branches : [ staging, trying, master ]
3+ branches : [ master ]
44 pull_request :
5+ branches : [ master ]
56
67name : Continuous integration
78
@@ -30,19 +31,32 @@ jobs:
3031 TARGET : x86_64-unknown-linux-gnu
3132
3233 steps :
33- - uses : actions/checkout@v2
34- - uses : actions-rs/toolchain@v1
34+ - uses : actions/checkout@v4
35+
36+ - uses : dtolnay/rust-toolchain@stable
3537 with :
36- profile : minimal
3738 toolchain : ${{ matrix.rust }}
3839 target : ${{ matrix.TARGET }}
39- override : true
40- - uses : actions-rs/cargo@v1
41- with :
42- command : build
43- args : --target=${{ matrix.TARGET }}
44- - uses : actions-rs/cargo@v1
40+
41+ - run : cargo build --target=${{ matrix.TARGET }}
42+
43+ - run : cargo test --target=${{ matrix.TARGET }} --all-features
4544 if : ${{ contains(matrix.TARGET, 'x86_64') }}
45+
46+ clippy :
47+ runs-on : ubuntu-latest
48+ steps :
49+ - uses : actions/checkout@v4
50+ - uses : dtolnay/rust-toolchain@stable
4651 with :
47- command : test
48- args : --target=${{ matrix.TARGET }} --all-features
52+ components : clippy
53+
54+ - run : cargo clippy
55+
56+ fmt :
57+ name : Rustfmt
58+ runs-on : ubuntu-latest
59+ steps :
60+ - uses : actions/checkout@v4
61+ - uses : dtolnay/rust-toolchain@stable
62+ - run : cargo fmt --all -- --check
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212- Support for optional package ` defmt ` which allows for easy conversion for
1313error types when using tools like ` probe-rs ` for logging over debuggers.
1414- Implement ` Serializer::collect_str `
15+ - Derive ` Serialize ` for ` de::Error ` and ` ser::Error `
1516
1617### Changed
1718
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ use core::mem::MaybeUninit;
44use core:: { fmt, str} ;
55
66use serde:: ser;
7- use serde:: Serialize ;
87use serde:: ser:: SerializeStruct as _;
8+ use serde:: Serialize ;
99
1010#[ cfg( feature = "heapless" ) ]
1111use heapless:: { String , Vec } ;
You can’t perform that action at this time.
0 commit comments