Commit 09fc7c9
ci: cache pip packages for the ScanCode license scan
The ScanCode action installs scancodeio via pip on every run with no
cache, adding several minutes per run just to re-download the same
wheels. Caches ~/.cache/pip using a run_id-keyed cache with a prefix
restore-key, so each run seeds from the most recent prior cache while
still saving a fresh snapshot every time.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 714b8ca commit 09fc7c9
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
23 | 35 | | |
24 | 36 | | |
25 | 37 | | |
| |||
0 commit comments