Skip to content

Commit 274fb2d

Browse files
committed
Test MSRV with old versions
1 parent 201d23a commit 274fb2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- rust: 1.51.0 # MSRV
2121
features: serde
2222
experimental: false
23+
- rust: 1.70.0
24+
features: serde
25+
experimental: false
2326
- rust: stable
2427
features:
2528
bench: true
@@ -38,6 +41,11 @@ jobs:
3841
profile: minimal
3942
toolchain: ${{ matrix.rust }}
4043
override: true
44+
- name: Pin versions for MSRV
45+
if: "${{ matrix.rust == '1.51.0' }}"
46+
run: |
47+
cargo update -p serde_test --precise 1.0.163
48+
cargo update -p serde --precise 1.0.69
4149
- name: Tests
4250
run: |
4351
cargo build --verbose --features "${{ matrix.features }}"

0 commit comments

Comments
 (0)