Commit 0b7d000
authored
Enforce
* Enforce `Cargo.lock` is up-to-date in lint CI
It is currently possible to merge changes to `main` that leave
`Cargo.lock` needing updates. This enforces, as part of the CI lint
job, that `Cargo.lock` is unchanged when running `cargo` compilation
commands. It's hard to do this via `tox` because the package is highly
opinionated and doesn't permit running commands before package build.
We may want to go further in the future in CI and enforce that the
entire `git` repository is clean after the equivalent local commands,
but that would require a bit more work because there are differences in
CI where we generate files that are not necessarily covered in
`.gitignore` (such as coverage and PGO steps).
* Fix `Cargo.lock`Cargo.lock is up-to-date in lint CI (#15839)1 parent 3634778 commit 0b7d000
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
0 commit comments