diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cef1f8450..2e0a315da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -299,6 +299,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - name: Resolve MSRV aware dependencies + run: cargo update + env: + CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback + - name: Get MSRV package metadata id: metadata run: cargo metadata --no-deps --format-version 1 | jq -r '"msrv=" + .packages[0].rust_version' >> $GITHUB_OUTPUT @@ -308,18 +314,6 @@ jobs: with: toolchain: ${{ steps.metadata.outputs.msrv }} - - name: Fix log and tokio versions - run: | - cargo update - cargo update -p log --precise 0.4.18 - cargo update -p tokio --precise 1.29.1 - cargo update -p tokio-util --precise 0.7.11 - cargo update -p idna_adapter --precise 1.1.0 - cargo update -p hashbrown --precise 0.15.0 - cargo update -p native-tls --precise 0.2.13 - cargo update -p once_cell --precise 1.20.3 - cargo update -p tracing-core --precise 0.1.33 - - uses: Swatinem/rust-cache@v2 - name: Check