diff --git a/ci-cd/msrv b/ci-cd/msrv index 82c67d12..e08e4218 100755 --- a/ci-cd/msrv +++ b/ci-cd/msrv @@ -6,7 +6,7 @@ ret=0 echo "Running Cargo MSRV on the entire workspace" for file in $(tomlq -r < Cargo.toml .workspace.members.[]); do echo "::group::${file}" - if cargo msrv verify --output-format json --manifest-path "$file"; then + if ! cargo msrv verify --output-format json --manifest-path "$file"; then ret=1 fi echo "::endgroup::"