chore: run cargo dev generate-all on CI and locally (#6899)

## Summary

Noticed that running `cargo dev generate-all` on `main` produced changes
and saw that that the command is not run on the CI nor as a pre-commit
hook.

Not sure if having the command running as a pre-commit hook is something
we want, so I can remove it if you prefer. I find that nice to have as
it's probably easy to forget to run it, especially for new contributors
(and it will only run if there are changes in `uv_cli` or `uv_settings`
crates).

## Test Plan

- Added `cargo dev generate-all --mode check` on the CI, which produced
[this failing
job](2951669939)
- Ran `cargo dev generate-all` locally and committed the changes, which
produced [this succeeding
job](2951674494)
This commit is contained in:
Mathieu Kniewallner 2024-09-01 01:03:53 +02:00 committed by GitHub
parent 3e647b139e
commit fe5f085299
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 4 deletions

View file

@ -438,9 +438,7 @@ uv init [OPTIONS] [PATH]
</dd><dt><code>--no-readme</code></dt><dd><p>Do not create a <code>README.md</code> file</p>
</dd><dt><code>--no-workspace</code></dt><dd><p>Avoid discovering a workspace.</p>
<p>Instead, create a standalone project.</p>
</dd><dt><code>--no-workspace</code></dt><dd><p>Avoid discovering a workspace and create a standalone project.</p>
<p>By default, uv searches for workspaces in the current directory or any parent directory.</p>