Commit b336188
committed
Merge rust-bitcoin#5028: Use recent lock file when checking API files
e8c42a7 Use recent lock file when checking API files (Tobin C. Harding)
Pull request description:
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.
ACKs for top commit:
apoelstra:
ACK e8c42a7; successfully ran local tests
Tree-SHA512: 032238d30db2afa87c44b5a77e870b0052e96c2bdf76b18ba00a642c929ef859a7da9966213e0d21c572e34039a137cb5876af45f3f3481c44b0640384e38fb71 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