From 65aff1fbb4486fe0c14686c2f5b29f97d6a4c89c Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 21 Oct 2024 10:28:26 +0800 Subject: [PATCH] docs(ci): Don't constrainty latest_deps job by MSRV --- src/doc/src/guide/continuous-integration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/doc/src/guide/continuous-integration.md b/src/doc/src/guide/continuous-integration.md index d9f14de9b41..0d69f908743 100644 --- a/src/doc/src/guide/continuous-integration.md +++ b/src/doc/src/guide/continuous-integration.md @@ -165,6 +165,8 @@ jobs: name: Latest Dependencies runs-on: ubuntu-latest continue-on-error: true + env: + CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable @@ -172,6 +174,9 @@ jobs: - run: cargo build --verbose - run: cargo test --verbose ``` +Notes: +- [`CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS`](../reference/config.md#resolverincompatible-rust-versions) is set to ensure the [resolver](../reference/resolver.md) doesn't limit selected dependencies because of your project's [Rust version](../reference/rust-version.md). + For projects with higher risks of per-platform or per-Rust version failures, more combinations may want to be tested.