-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cargo: Bump `windows` crate range to `0.53-0.59` Note that `windows 0.59` bumps the MSRV to `1.74`, but we still support this crate dependency all the way back to `0.53`. * CI: Use minimal dependency versions when running MSRV check For the time being we have to instruct `cargo` to use some lower version of our dependencies to ensure our MSRV doesn't need to be bumped - that is one of the resons why we have a supported version range on our dependencies. In the future when Rust 1.84 becomes our MSRV, it will be able to resolve these automatically (assumming crates set their `rust-version` correctly if at all!): https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html#cargo-considers-rust-versions-for-dependency-version-selection * Address new clippy lints
- Loading branch information
Showing
4 changed files
with
6 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,9 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- name: Generate lockfile with minimal dependency versions | ||
run: cargo +nightly generate-lockfile -Zminimal-versions | ||
- uses: dtolnay/[email protected] | ||
# Note that examples are extempt from the MSRV check, so that they can use newer Rust features | ||
- run: cargo check --workspace --features ${{ matrix.features }} --no-default-features | ||
|
@@ -65,13 +68,6 @@ jobs: | |
- name: Cargo clippy | ||
run: cargo clippy --workspace --all-targets --features ${{ matrix.features }} --no-default-features -- -D warnings | ||
|
||
- name: Install nightly Rust | ||
uses: dtolnay/rust-toolchain@nightly | ||
- name: Generate lockfile with minimal dependency versions | ||
run: cargo +nightly generate-lockfile -Zminimal-versions | ||
- name: Cargo clippy with minimal-versions | ||
run: cargo +stable clippy --workspace --features ${{ matrix.features }} --no-default-features -- -D warnings | ||
|
||
doc: | ||
name: Build documentation | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters