From 274fb2d531233e34c01b17e967712a0496f3ca9e Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Tue, 30 Jul 2024 20:57:35 +0200 Subject: [PATCH] Test MSRV with old versions --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d5be57..91acbef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,9 @@ jobs: - rust: 1.51.0 # MSRV features: serde experimental: false + - rust: 1.70.0 + features: serde + experimental: false - rust: stable features: bench: true @@ -38,6 +41,11 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true + - name: Pin versions for MSRV + if: "${{ matrix.rust == '1.51.0' }}" + run: | + cargo update -p serde_test --precise 1.0.163 + cargo update -p serde --precise 1.0.69 - name: Tests run: | cargo build --verbose --features "${{ matrix.features }}"