Skip to content

Commit ee013e6

Browse files
seanmonstarjplatte
andauthored
ci: msrv resolver (#635)
* ci: msrv resolver * Reorder MSRV job * Add back specific dependency downgrades --------- Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
1 parent 27ad6ca commit ee013e6

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,17 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v6
59-
- uses: dtolnay/rust-toolchain@1.64
6059
- name: Remove the example crates to exclude effects to dependencies from them
6160
run: rm -r ./examples/* && cargo new --lib --edition 2021 examples/dummy
62-
# we could probably replace all these with the cargo MSRV resolver ...
63-
- run: cargo update -p tokio --precise 1.38.1
64-
- run: cargo update -p tokio-util --precise 0.7.11
65-
- run: cargo update -p once_cell --precise 1.20.3
66-
- run: cargo update -p tracing --precise 0.1.41
67-
- run: cargo update -p tracing-subscriber --precise 0.3.19
68-
- run: cargo update -p tracing-core --precise 0.1.33
61+
- name: Resolve MSRV aware dependencies
62+
run: cargo update
63+
env:
64+
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback
65+
# Apparently the MSRV resolver is buggy :(
66+
# Still better to maintain fewer manual version overrides though.
6967
- run: cargo update -p async-compression --precise 0.4.23
7068
- run: cargo update -p flate2 --precise 1.0.35
71-
- run: cargo update -p itoa --precise 1.0.15
69+
- uses: dtolnay/rust-toolchain@1.64
7270
- run: cargo check -p tower-http --all-features
7371

7472
style:

0 commit comments

Comments
 (0)