Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix book summary entry for cargo msrv find #978

Merged
merged 3 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: cargo msrv --output-format json verify -- cargo check
- name: run_cargo_msrv_on_verify_failure
if: ${{ failure() }}
run: cargo msrv --output-format json -- cargo check
run: cargo find msrv --output-format json -- cargo check

# The same as the 'msrv' job, except it takes the latest release, including beta releases
# We don't use --all-features here!
Expand All @@ -52,7 +52,8 @@ jobs:
run: cargo msrv --output-format json verify
# Unlike the 'msrv' job, we always run cargo-msrv's find command
- name: run_cargo_msrv_on_verify_failure
run: cargo msrv --output-format json
if: ${{ failure() }}
run: cargo msrv find --output-format json

# The same as the 'msrv' job, except it takes the latest development branch, as a form of test
# we don't use --all-features here!
Expand All @@ -73,4 +74,5 @@ jobs:
run: cargo msrv --output-format json verify
# Unlike the 'msrv' job, we always run cargo-msrv's find command, as a form of test
- name: run_cargo_msrv_on_verify_failure
run: cargo msrv --output-format json
if: ${{ failure() }}
run: cargo msrv find --output-format json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Debug output options:

### JSON format

JSON output may be enabled by providing the `--output-format json` flag: `cargo msrv --output-format json`.
JSON output may be enabled by providing the `--output-format json` flag: `cargo msrv find --output-format json`.
Events are printed as json lines. The event type is indicated by the `type` key.

Please see the [Output formats](https://foresterre.github.io/cargo-msrv/output-formats/index.html) and
Expand Down
26 changes: 13 additions & 13 deletions book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

- [Introduction](./index.md)
- [Getting Started](./getting-started/index.md)
- [Installation](./getting-started/installation.md)
- [Quick Start](./getting-started/quick-start.md)
- [Installation](./getting-started/installation.md)
- [Quick Start](./getting-started/quick-start.md)
- [Migration Guide](./migration-guide/index.md)
- [v0.15 to v0.16 JSON](./migration-guide/v0.15_v0.16_json.md)
- [v0.15 to v0.16 JSON](./migration-guide/v0.15_v0.16_json.md)
- [Concepts](./concepts/index.md)
- [Output Formats](output-formats/index.md)
- [human](output-formats/human.md)
- [json](output-formats/json.md)
- [minimal](output-formats/minimal.md)
- [no-user-output](output-formats/no-user-output.md)
- [human](output-formats/human.md)
- [json](output-formats/json.md)
- [minimal](output-formats/minimal.md)
- [no-user-output](output-formats/no-user-output.md)
- [Commands](./commands/index.md)
- [cargo-msrv](./commands/find.md)
- [cargo-msrv help](./commands/help.md)
- [cargo-msrv list](./commands/list.md)
- [cargo-msrv show](./commands/show.md)
- [cargo-msrv verify](./commands/verify.md)
- [cargo-msrv find](./commands/find.md)
- [cargo-msrv help](./commands/help.md)
- [cargo-msrv list](./commands/list.md)
- [cargo-msrv show](./commands/show.md)
- [cargo-msrv verify](./commands/verify.md)
- [Verification in CI](./ci/index.md)
- [GitLab](./ci/gitlab.md)
- [GitLab](./ci/gitlab.md)
4 changes: 2 additions & 2 deletions book/src/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

## Resolver

* run-toolchain resolver (default): resolver which runs actual toolchains against a crate
* rust-version resolver: author defined resolver, used by `cargo-msrv list`
* run-toolchain resolver (default): resolver which runs actual toolchains against a crate
* rust-version resolver: author defined resolver, used by `cargo-msrv list`
Loading