Skip to content

Commit 2923784

Browse files
NobodyXuByron
authored andcommitted
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.
1 parent f4898b9 commit 2923784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/msrv.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: extractions/setup-just@v2
3232
- run: |
33-
rustup toolchain install ${{ env.rust_version }} --profile minimal --no-self-update
33+
rustup toolchain install ${{ env.rust_version }} nightly --profile minimal --no-self-update
3434
rustup default ${{ env.rust_version }}
35+
cargo +nightly update -Zminimal-versions
3536
- run: just ci-check-msrv

0 commit comments

Comments
 (0)