From 9e3c976973047e0d390497cbef25f4d6ae25a71a Mon Sep 17 00:00:00 2001 From: daxpedda Date: Fri, 6 Dec 2024 23:39:05 +0100 Subject: [PATCH] Fix CI --- .github/workflows/test.yml | 10 ++++++---- test-crates/minimal-versions/Cargo.toml | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b69fe446..d831618a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,10 +53,11 @@ jobs: run: | rustup toolchain install ${{ matrix.rust }} --profile minimal --allow-downgrade rustup default ${{ matrix.rust }} - - name: Pin `zeroize` for MSRV + - name: Pin dependencies for MSRV if: matrix.msrv - run: + run: | cargo update -p zeroize --precise 1.6.0 + cargo update -p pretty_assertions --precise 1.4.0 - name: Build run: cargo build --workspace ${{ matrix.features }} @@ -107,10 +108,11 @@ jobs: run: | rustup toolchain install ${{ matrix.rust }} --target thumbv6m-none-eabi --profile minimal --allow-downgrade rustup default ${{ matrix.rust }} - - name: Pin `zeroize` for MSRV + - name: Pin dependencies for MSRV if: matrix.msrv - run: + run: | cargo update -p zeroize --precise 1.6.0 + cargo update -p pretty_assertions --precise 1.4.0 - name: Build run: cargo build --target thumbv6m-none-eabi ${{ matrix.features }} -p ensure-no-std diff --git a/test-crates/minimal-versions/Cargo.toml b/test-crates/minimal-versions/Cargo.toml index 175407d2..f4fa79cf 100644 --- a/test-crates/minimal-versions/Cargo.toml +++ b/test-crates/minimal-versions/Cargo.toml @@ -5,6 +5,7 @@ resolver = "2" edition = "2021" name = "minimal-versions" publish = false +rust-version = "1.57" version = "0.0.0" [features]