We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dd3a76 commit 8489a1dCopy full SHA for 8489a1d
.github/workflows/rust.yml
@@ -72,8 +72,10 @@ jobs:
72
with:
73
toolchain: ${{matrix.rust.toolchain}}
74
id: rust-toolchain
75
- # on msrv runs, use stable to generate Cargo.lock then downgrade
76
- run: cargo --config 'resolver.incompatible-rust-versions="fallback"' update
+ # on msrv runs, downgrade rust after generating the Cargo.lock file
77
+ - run: apk -y update && apk -y install --no-install-recommends yq
78
+ if: matrix.rust.name == 'MSRV'
79
- run: echo "rust-version=$(tomlq -r '.workspace.package."rust-version"' Cargo.toml)" >>$GITHUB_OUTPUT
80
id: msrv
81
if: matrix.rust.name == 'MSRV'
0 commit comments