File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v4
2020
21+ - name : Cache cargo registry
22+ uses : actions/cache@v4
23+ with :
24+ path : ~/.cargo/registry
25+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
26+ restore-keys : |
27+ ${{ runner.os }}-cargo-registry-
28+
29+ - name : Cache cargo index
30+ uses : actions/cache@v4
31+ with :
32+ path : ~/.cargo/git
33+ key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
34+ restore-keys : |
35+ ${{ runner.os }}-cargo-index-
36+
37+ - name : Cache cargo build
38+ uses : actions/cache@v4
39+ with :
40+ path : target
41+ key : ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
42+ restore-keys : |
43+ ${{ runner.os }}-cargo-build-
44+
2145 - name : Build
2246 run : cargo build --release
2347
You can’t perform that action at this time.
0 commit comments