Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit e1f53c3

Browse files
committed
Pin serde_json in CI to maintain MSRV
The `serde_json` crate switched to Rust edition 2021 starting with v1.0.101, i.e., has MSRV of 1.56. It also requires `serde` v1.0.166 starting with v1.0.100. We therefore pin it to v1.0.99 in CI to fix our MSRV checks.
1 parent 58fbce0 commit e1f53c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
run: cargo update -p tokio --precise "1.14.1" --verbose
3131
- name: Pin serde for MSRV
3232
if: matrix.msrv
33-
run: cargo update -p serde --precise "1.0.156" --verbose
33+
run: |
34+
cargo update -p serde --precise "1.0.156" --verbose
35+
cargo update -p serde_json --precise "1.0.99" --verbose
3436
- name: Pin log for MSRV
3537
if: matrix.msrv
3638
run: cargo update -p log --precise "0.4.18" --verbose

0 commit comments

Comments
 (0)