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:14:10 +03:00
parent d18dbb85d8
commit dd5b24fcc9
No known key found for this signature in database
GPG key ID: E8523968931763BE

View file

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