File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,17 @@ jobs:
147147 if : matrix.os == 'ubuntu-latest'
148148 working-directory : rust
149149 run : |
150- curl -L "https://github.com/foresterre/cargo-msrv/releases/download/v0.18.4/cargo-msrv-x86_64-unknown-linux-gnu-v0.18.4.tgz" |
151- tar xz --wildcards --strip-components=1 -C "$HOME/.local/bin" "*/cargo-msrv"
150+ # Install cargo-msrv
151+ cargo_msrv_version="v0.18.4"
152+ cargo_msrv_hash="367a48e4ad014b119bf728a9e95e863575e02fdf6cf95ae24f44ca73b445ee14"
153+ cargo_msrv_archive="cargo-msrv.tgz"
154+
155+ curl -L "https://github.com/foresterre/cargo-msrv/releases/download/${cargo_msrv_version}/cargo-msrv-x86_64-unknown-linux-gnu-${cargo_msrv_version}.tgz" -o "${cargo_msrv_archive}"
156+ echo "${cargo_msrv_hash} ${cargo_msrv_archive}" | sha256sum -c -
157+ tar xz -f "${cargo_msrv_archive}" --wildcards --strip-components=1 -C "$HOME/.local/bin" "*/cargo-msrv"
158+ rm "${cargo_msrv_archive}"
159+
160+ # Verify MSRV for each package
152161 find . -mindepth 2 -name Cargo.toml | while read -r dir
153162 do
154163 echo "Checking package '$dir'"
You can’t perform that action at this time.
0 commit comments