run cargo audit with --deny warnings enabled

It is better to fail on warnings as well when running `cargo
audit` so we can catch problems in time.
Fixes https://github.com/rust-vmm/rust-vmm-ci/issues/52.

Signed-off-by: Laura Loghin <lauralg@amazon.com>
This commit is contained in:
Laura Loghin
2022-01-11 15:53:57 +02:00
committed by Sergey Glushchenko
parent aee82cf0a4
commit b6858b232d

View File

@@ -71,7 +71,7 @@
},
{
"test_name": "cargo-audit",
"command": "cargo audit -q"
"command": "cargo audit -q --deny warnings"
}
]
}