Skip to content

Commit

Permalink
Return non-zero exit status on failed MSRV verify check
Browse files Browse the repository at this point in the history
  • Loading branch information
foresterre committed Oct 6, 2021
1 parent fdffc92 commit c219fdb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,13 @@ jobs:
toolchain: stable
override: true
profile: minimal
- name: install_jq
run: sudo apt install jq
- name: install_cargo_msrv
run: cargo install cargo-msrv
- name: install_jsonlines
run: cargo install jsonlines
- name: version_of_cargo_msrv
run: cargo msrv --version # as of writing: 0.7.0 (required for --verify)
- name: run_cargo_msrv
run: cargo msrv --verify --ignore-lockfile --output-format json
run: cargo msrv --verify --ignore-lockfile --output-format json | jsonlines-tail | jq --exit-status .success

0 comments on commit c219fdb

Please sign in to comment.