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

Commit f2fd85c

Browse files
committed
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
1 parent daf12a0 commit f2fd85c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ jobs:
8787
- if: ${{matrix.rust.version}} = 1.48.0
8888
name: Pin dependencies that use edition 2021
8989
# serde 1.0.157 uses syn 2.0 which requires edition 2021.
90+
# serde_json depends on 1.0.66
9091
# once_cell v0.15.0 uses edition 2021.
91-
run: cargo update -p serde --precise 1.0.156 && cargo update -p once_cell --precise 1.14.0
92+
run: cargo update -p serde_json --precise 1.0.99 && cargo update -p serde --precise 1.0.156 && cargo update -p once_cell --precise 1.14.0
93+
9294
- name: Test
9395
run: cargo test --features ${{ matrix.rust.features }}
9496
- name: Wipe

0 commit comments

Comments
 (0)