From 4ff19f8d18851dbc57051139f3aca01056207271 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 23 Aug 2024 19:35:58 +1000 Subject: [PATCH] Fix msrv: Run msrv checks with minimal versions Since it is possible to for dependencies to bump MSRV in patch release, msrv checking should use the minimal versions supported by gix. Users cares deeply about msrv can also pin them to the minimal versions to maintain their current msrv. --- .github/workflows/msrv.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index e65d54c188c..3474f081d55 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -30,6 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: extractions/setup-just@v2 - run: | - rustup toolchain install ${{ env.rust_version }} --profile minimal --no-self-update + rustup toolchain install ${{ env.rust_version }} nightly --profile minimal --no-self-update rustup default ${{ env.rust_version }} + cargo +nightly update -Zminimal-versions - run: just ci-check-msrv