From 976e27df57f09863ee6f41d82f90bc085a673fd5 Mon Sep 17 00:00:00 2001 From: Adam Azarchs Date: Fri, 19 Aug 2022 14:46:37 -0700 Subject: [PATCH] chore: Fix MSRV build. (#497) Pin the version of indexmap (transitive dependency) to 1.8.2, the last version before they switched to edition 2021, which requires rust 1.56. --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fb6f2fb15..cbe5b1145 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -98,6 +98,10 @@ jobs: - name: check if README matches MSRV defined here run: grep '1.53.0' README.md + - name: pin dependency versions for MSRV + run: | + cargo update -p indexmap --precise 1.8.2 + - name: Run tests uses: actions-rs/cargo@v1 with: