Eliza Weisman aebfd70ead
ci: add workaround for missing cargo-hack (#649)
## Motivation

Our CI builds currently have an issue where `cargo hack` doesn't work
after loading a cached build of the tool. This causes builds to fail.
See #648.

## Solution

This is an admittedly hacky workaround: I've added a step to check if
`cargo hack` exists by running `cargo hack --help`. If this doesn't
succeed, we assume it doesn't exist and forcibly install it from
crates.io.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2020-03-30 12:11:31 -07:00
..