Rollup merge of #142232 - onur-ozkan:141986, r=Kobzol

add `Cargo.lock` to CI-rustc allowed list for non-CI env

Changes to dependencies usually require modifying `Cargo.toml`, which would already invalidate the CI-rustc cache if done in non-allowed paths. On non-CI environment, it should be safe to add `Cargo.lock` to the list of allowed paths as there is no real risk aside from a very rare false positive in cases like minor bumps to non-allowed path dependencies without modifying the `Cargo.toml` files.

Fixes rust-lang/rust#141986
This commit is contained in:
Matthias Krüger 2025-06-09 13:55:36 +02:00 committed by GitHub
commit cfdc5f1ea9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available