From e0845d9ad9540818e2a6eec170fa2028d31bf607 Mon Sep 17 00:00:00 2001
From: Rob Ede <robjtede@icloud.com>
Date: Sat, 2 Jul 2022 17:12:24 +0100
Subject: [PATCH] add msrv workarounds to ci

---
 .github/workflows/ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 15d98aae..10ba660f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -47,6 +47,12 @@ jobs:
           profile: minimal
           override: true
 
+      - name: workaround MSRV issues
+        if: matrix.version != 'stable'
+        run: |
+          cargo add const-str@0.3 --dev -p=actix-web
+          cargo add const-str@0.3 --dev -p=awc
+
       - name: Generate Cargo.lock
         uses: actions-rs/cargo@v1
         with: { command: generate-lockfile }
@@ -68,7 +74,6 @@ jobs:
         with: { command: ci-check-default }
 
       - name: tests
-        if: matrix.version == 'stable' # temp?
         timeout-minutes: 60
         run: |
           cargo test --lib --tests -p=actix-router --all-features