CI: Pin serde_json for MSRV build
Recent release of `serde_json` depends on `serde` 1.0.66 but we pin to 1.0.56 Pin `serde_json` for MSRV build to v1.0.99
This commit is contained in:
parent
1318ff88e5
commit
c3a99c62ad
|
@ -26,6 +26,7 @@ fi
|
|||
# Pin dependencies as required if we are using MSRV toolchain.
|
||||
if cargo --version | grep "1\.48"; then
|
||||
# 1.0.157 uses syn 2.0 which requires edition 2021
|
||||
cargo update -p serde_json --precise 1.0.99
|
||||
cargo update -p serde --precise 1.0.156
|
||||
fi
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ fi
|
|||
# Pin dependencies as required if we are using MSRV toolchain.
|
||||
if cargo --version | grep "1\.48"; then
|
||||
# 1.0.157 uses syn 2.0 which requires edition 2021
|
||||
cargo update -p serde_json --precise 1.0.99
|
||||
cargo update -p serde --precise 1.0.156
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue