-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a workaround for sourcefrog/cargo-mutants#312 and, now that I've thought about it, seems like possibly a good idea in general.
- Loading branch information
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,8 +145,9 @@ jobs: | |
- name: Install tools | ||
# Note: Swatinem/rust-cache will cache these installed binaries, so we don't have to worry | ||
# about caching the builds of them. | ||
# cargo-mutants is not used in this step but it will be cached for later use. | ||
run: | | ||
cargo install [email protected] [email protected] [email protected] | ||
cargo install --locked [email protected] [email protected] [email protected] | ||
- run: df -h . | ||
|
@@ -267,7 +268,7 @@ jobs: | |
- name: Install tools | ||
# These should already be installed but we might have a cache miss, so don't fail in that case. | ||
run: | | ||
cargo install [email protected] [email protected] | ||
cargo install --locked [email protected] [email protected] | ||
- run: df -h . | ||
|
||
|
@@ -324,7 +325,7 @@ jobs: | |
|
||
# Install cargo-mutants | ||
# This should usually be already installed, but is present in case of cache miss | ||
- run: cargo install --version 24.1.0 cargo-mutants | ||
- run: cargo install --locked cargo-mutants@24.1.0 | ||
|
||
- name: Relative diff | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,7 @@ jobs: | |
# Note: Swatinem/rust-cache will cache these installed binaries, so we don't have to worry | ||
# about caching the builds of them. | ||
run: | | ||
cargo install [email protected] [email protected] | ||
cargo install --locked [email protected] [email protected] | ||
- name: Compile basic tests | ||
# compile is broken out so we have visibility into compile vs. run times | ||
|