mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Update tarpaulin to support the new Cargo.lock format
Unfortunately the published binary no longer works on Travis unless the build happens on its bionic image, because the binary is built in GitHub Actions using the ubuntu:latest image. Running in bionic isn't guaranteed not to break in the future, so install from source and cache the artifact to be sure. Fortunately, cargo install no longer requires --force to update an installed binary crate, so building from source and caching the result is simpler than it used to be.
This commit is contained in:
+1
-2
@@ -12,8 +12,7 @@ cache: cargo
|
||||
install:
|
||||
- rustup component add rustfmt-preview
|
||||
- rustfmt --version
|
||||
- curl -fsSL https://github.com/xd009642/tarpaulin/releases/download/0.9.0/cargo-tarpaulin-0.9.0-travis.tar.gz | tar xz
|
||||
- mv cargo-tarpaulin ~/.cargo/bin/
|
||||
- cargo install cargo-tarpaulin --version 0.10.2
|
||||
|
||||
before_script:
|
||||
- cd tests
|
||||
|
||||
Reference in New Issue
Block a user