Improvements to github workflow (#4)

- format check
- clippy checks
- build tests separately before running

Also fix clippy warnings

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2023-02-10 11:16:09 +05:30
committed by GitHub
parent dc0720b32a
commit c92707433e
9 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ impl Serialize for Value {
impl fmt::Display for Value {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match serde_json::to_string(self) {
Ok(s) => write!(f, "{}", s),
Ok(s) => write!(f, "{s}"),
Err(_e) => Err(std::fmt::Error),
}
}