File tree Expand file tree Collapse file tree
.github/actions/rust-test-action Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 with :
2222 tool : nextest,cargo-hack
2323
24+ - name : Cache Cargo registry 🔧
25+ uses : actions/cache@v3
26+ with :
27+ path : ~/.cargo/registry
28+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
29+ restore-keys : |
30+ ${{ runner.os }}-cargo-registry-
31+
32+ - name : Cache Cargo index 🔧
33+ uses : actions/cache@v3
34+ with :
35+ path : ~/.cargo/git
36+ key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
37+ restore-keys : |
38+ ${{ runner.os }}-cargo-index-
39+
40+ - name : Cache Cargo build 🔧
41+ uses : actions/cache@v3
42+ with :
43+ path : ${{ inputs.target-folder }}
44+ key : ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
45+ restore-keys : |
46+
2447 - name : Check formatting
2548 working-directory : ${{ inputs.working-directory }}
2649 run : cargo fmt --check ${{ inputs.additional-flags }}
You can’t perform that action at this time.
0 commit comments