Skip to content

Commit 239ec4b

Browse files
committed
CI: Base diesel bin cache key on .diesel_version contents
1 parent 67102ad commit 239ec4b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ jobs:
9595
uses: actions/cache@v1
9696
with:
9797
path: ~/.cargo/bin
98-
key: ${{ runner.os }}-cargo-bin-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
99-
restore-key: |
100-
${{ runner.os }}-cargo-bin-${{ matrix.rust }}-
101-
${{ runner.os }}-cargo-bin-
98+
key: ${{ runner.os }}-cargo-bin-${{ matrix.rust }}-${{ hashFiles('.diesel_version') }}
10299

103100
# Current size as of 2019-12-23: ~77 MB
104101
- name: Cache cargo registry cache

0 commit comments

Comments
 (0)