From 6c642156e1446b8818f0d322422731305050c353 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Wed, 27 Nov 2024 10:19:59 +0100 Subject: [PATCH] ci: downgrade crates when building for Rust 1.67.0 Crates from the https://github.com/unicode-org/icu4x workspace got a round of releases recently, increasing the minimum Rust version. When building this project with Rust 1.67.0, make sure to downgrade some of the dependencies like is already done for Rust 1.63.0. --- .github/workflows/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d8b3c66..f78d4f94 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,10 +37,18 @@ jobs: toolchain: ${{ matrix.rust }} # Add toolchain for no_std tests - run: rustup toolchain install nightly - - name: Downgrade idna_adapter on Rust 1.63.0 + - name: Downgrade deps on Rust 1.63.0 if: | matrix.rust == '1.63.0' - run: cargo update -p idna_adapter --precise 1.1.0 + run: | + cargo update -p idna_adapter --precise 1.1.0 + - name: Downgrade deps on Rust 1.67.0 + if: | + matrix.rust == '1.67.0' + run: | + cargo update -p zerofrom --precise 0.1.4 + cargo update -p yoke --precise 0.7.4 + cargo update -p litemap --precise 0.7.3 - name: Add `aarch64-unknown-none` toolchain for `no_std` tests if: | matrix.os == 'ubuntu-latest' &&