CI: force install cargo audit

We are caching $CARGO_HOME in between runs, so an arbitrary
cargo audit binary might already exist in the environment.
Force install it so cargo doesn't complain and our binary
is guaranteed "fresh".
This commit is contained in:
Jordan Petridis 2019-10-21 14:18:44 +03:00
parent 2d2459ed52
commit d584c3ba23
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -151,5 +151,5 @@ audit:
only:
- schedules
script:
- cargo install cargo-audit
- cargo install --force cargo-audit
- cargo audit --deny-warnings