File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 38
38
39
39
steps :
40
40
- uses : actions/checkout@v4
41
+ - name : Lock MSRV-compatible dependencies
42
+ if : matrix.rust == '1.68.0'
43
+ env :
44
+ CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS : fallback
45
+ # Note that this uses the runner's pre-installed stable cargo
46
+ run : cargo generate-lockfile
41
47
- uses : dtolnay/rust-toolchain@master
42
48
with :
43
49
toolchain : ${{ matrix.rust }}
67
73
68
74
steps :
69
75
- uses : actions/checkout@v4
76
+ - name : Lock MSRV-compatible dependencies
77
+ if : matrix.rust == '1.68.0'
78
+ env :
79
+ CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS : fallback
80
+ # Note that this uses the runner's pre-installed stable cargo
81
+ run : cargo generate-lockfile
70
82
- uses : dtolnay/rust-toolchain@master
71
83
with :
72
84
toolchain : ${{ matrix.rust }}
@@ -108,7 +120,10 @@ jobs:
108
120
- uses : taiki-e/install-action@v2
109
121
with :
110
122
tool : cargo-hack
111
- - run : cargo +nightly hack generate-lockfile --remove-dev-deps -Z direct-minimal-versions
123
+ - name : Lock minimal direct dependencies
124
+ run : cargo +nightly hack generate-lockfile --remove-dev-deps -Z direct-minimal-versions
125
+ env :
126
+ CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS : fallback
112
127
- name : Build (nightly)
113
128
run : cargo +nightly build --verbose --all-features
114
129
- name : Build (MSRV)
You can’t perform that action at this time.
0 commit comments