Skip to content

Commit

Permalink
ci/coverage: Fix cargo-tarpaulin to its locked version
Browse files Browse the repository at this point in the history
cargo-tarpaulin's dependency toml_datetime has made a patch update
to v0.6.5 which requires rust version 1.67 or newer. As our MSRV
is currently 1.66.0:
 * use the '--locked' option to build cargo-tarpaulin instead.

Signed-off-by: Tomás González <[email protected]>
  • Loading branch information
tgonzalezorlandoarm committed Oct 31, 2023
1 parent d890ce9 commit 1ae7ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ if [ "$PROVIDER_NAME" = "coverage" ]; then
UNIT_TEST_FEATURES="unix-peer-credentials-authenticator,direct-authenticator"
# Install tarpaulin
# TODO: Stop using the --version parameter when MSRV is upgraded.
cargo +${MSRV} install cargo-tarpaulin --version 0.26.1
cargo +${MSRV} install cargo-tarpaulin --version 0.26.1 --locked

mkdir -p reports

Expand Down

0 comments on commit 1ae7ca2

Please sign in to comment.