Merge rust-bitcoin/rust-bitcoin#1982: Add CI test for pinned versions using 1.48
894aa130b6
Add CI test for pinned versions using MSRV (yancy) Pull request description: Add a test for pinned version with current MSRV. I'm not sure how to test this in CI before opening this PR (will probably fail). ACKs for top commit: apoelstra: ACK894aa130b6
tcharding: ACK894aa130b6
Tree-SHA512: ab6a68628d486f8a3aa47ad6921fd90a60df62f99f3bf017d4aac092510b226b3acb8d1ee3b80e9884006bfc746f4ec0d7f150df104ec30a2e0da67886ebd3cd
This commit is contained in:
commit
e2deeddd50
|
@ -4,6 +4,21 @@ set -ex
|
|||
|
||||
CRATES="bitcoin hashes internals fuzz"
|
||||
DEPS="recent minimal"
|
||||
MSRV="1\.48\.0"
|
||||
|
||||
# Test pinned versions.
|
||||
if cargo --version | grep ${MSRV}; then
|
||||
cargo update -p serde_json --precise 1.0.99
|
||||
cargo update -p serde --precise 1.0.156
|
||||
cargo update -p quote --precise 1.0.30
|
||||
cargo update -p proc-macro2 --precise 1.0.63
|
||||
cargo update -p serde_test --precise 1.0.175
|
||||
|
||||
cargo update -p bitcoin:0.30.1 --precise 0.30.0
|
||||
|
||||
# Build MSRV with pinned versions.
|
||||
cargo check --all-features --all-targets
|
||||
fi
|
||||
|
||||
for dep in $DEPS
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue