Commit e8c42a7
committed
Use recent lock file when checking API files
Recently we added `--locked` to all the `cargo` invocations in the
script to check API text files. But if one has an updated lock file
(newer than recent) then this achieves nothing. I.e., if one has run
`cargo` _without_ `--locked` then the local lock file will have deps
that are too new (*cough* serde I'm looking at you).
Copy the recent lock file into place when the script is run locally
but preserve the lock file state once the script is finished running.1 parent e81a4c2 commit e8c42a7
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| 37 | + | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
0 commit comments