@@ -28,19 +28,27 @@ jobs:
28
28
- name : Setup rust
29
29
run : rustup default ${{ matrix.rust-version }}
30
30
31
+ # As new versions of our dependencies come out, they might depend on newer
32
+ # versions of the Rust compiler. When that happens, we'll use this step to
33
+ # lock down the dependency to a version that is known to be compatible with
34
+ # compiler version 1.75.
35
+ - name : Patch dependencies
36
+ if : ${{ matrix.rust-version == 1.75 }}
37
+ run : ./scripts/patch-versions-msrv-1_75.sh
38
+
31
39
- name : Build default features
32
- run : cargo build --workspace --ignore-rust-version
40
+ run : cargo build --workspace
33
41
- name : Test default features
34
- run : cargo test --workspace --ignore-rust-version
42
+ run : cargo test --workspace
35
43
36
44
- name : Test diagram
37
- run : cargo test --workspace -F=diagram --ignore-rust-version
45
+ run : cargo test --workspace -F=diagram
38
46
39
47
- name : Build single_threaded_async
40
- run : cargo build --features single_threaded_async --ignore-rust-version
48
+ run : cargo build --features single_threaded_async
41
49
- name : Test single_threaded_async
42
- run : cargo test --features single_threaded_async --ignore-rust-version
50
+ run : cargo test --features single_threaded_async
43
51
44
52
- name : Build docs
45
- run : cargo doc --ignore-rust-version
53
+ run : cargo doc
46
54
0 commit comments