Commit 56eafa8
Modernize CI cache and toolchain actions
Replace deprecated actions-rs/toolchain@v1 with dtolnay/rust-toolchain@stable
and the manual actions/cache@v3 setup with Swatinem/rust-cache@v2. The
purpose-built Rust cache action keys correctly on Cargo.lock + rustc version
(the old key only hashed Cargo.toml so cargo update wouldn't bust it), prunes
the parts of target/ that don't help on restore, and keeps build-script
outputs so the bitcoind/electrs binaries downloaded by corepc-node and
electrsd remain cached.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ae99aeb commit 56eafa8
1 file changed
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 27 | + | |
40 | 28 | | |
41 | 29 | | |
42 | 30 | | |
| |||
0 commit comments