File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -59,26 +59,34 @@ jobs:
59
59
~/.cargo/git/db/
60
60
candle-binding/target/
61
61
key : ${{ runner.os }}-cargo-precommit-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }}
62
+ restore-keys : |
63
+ ${{ runner.os }}-cargo-precommit-
62
64
63
65
- name : Cache Go dependencies
64
66
uses : actions/cache@v4
65
67
with :
66
68
path : |
67
69
~/go/pkg/mod
68
70
key : ${{ runner.os }}-go-precommit-${{ hashFiles('**/go.sum') }}
71
+ restore-keys : |
72
+ ${{ runner.os }}-go-precommit-
69
73
70
74
- name : Cache Node dependencies
71
75
uses : actions/cache@v4
72
76
with :
73
77
path : |
74
78
~/.npm
75
79
key : ${{ runner.os }}-node-precommit-${{ hashFiles('website/package-lock.json') }}
80
+ restore-keys : |
81
+ ${{ runner.os }}-node-precommit-
76
82
77
83
- name : Cache pre-commit environments
78
84
uses : actions/cache@v4
79
85
with :
80
86
path : ~/.cache/pre-commit
81
87
key : ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
88
+ restore-keys : |
89
+ ${{ runner.os }}-precommit-
82
90
83
91
- name : Install pre-commit
84
92
run : make precommit-install
Original file line number Diff line number Diff line change @@ -43,13 +43,17 @@ jobs:
43
43
~/.cargo/git/db/
44
44
candle-binding/target/
45
45
key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }}
46
+ restore-keys : |
47
+ ${{ runner.os }}-cargo-
46
48
47
49
- name : Cache Go dependencies
48
50
uses : actions/cache@v4
49
51
with :
50
52
path : |
51
53
~/go/pkg/mod
52
54
key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
55
+ restore-keys : |
56
+ ${{ runner.os }}-go-
53
57
54
58
- name : Cache Models
55
59
uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments