From a1c7e935812eaa8324e8d39b5f530a6ae1ab51d6 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 12 Mar 2025 09:36:20 +0100 Subject: [PATCH] Downgrade once_cell for MSRV jobs --- .github/workflows/ci.yml | 6 +++++- Makefile | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02d191a1..12f0ac90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ jobs: override: true - name: Checkout uses: actions/checkout@v3 + - name: MSRV dependencies + if: matrix.rust == '1.66.0' + run: make msrv-lock - name: Check env: CARGO_BUILD_TARGET: ${{ matrix.target }} @@ -76,7 +79,8 @@ jobs: run: | sudo apt-get update sudo apt-get install gcc-multilib - - name: Copy MSRV Lock + - name: MSRV dependencies + if: matrix.rust == '1.66.0' run: make msrv-lock - name: Test env: diff --git a/Makefile b/Makefile index a7e003b5..365052f8 100644 --- a/Makefile +++ b/Makefile @@ -33,4 +33,7 @@ lint: @rustup component add clippy 2> /dev/null @cargo clippy --examples --tests --all-features -- --deny warnings +msrv-lock: + @cargo update -p once_cell --precise 1.20.3 + .PHONY: all doc build check test format format-check lint check-minver msrv-lock