ci: tweak cache keys

This commit is contained in:
Quentin Gliech
2021-07-10 00:10:22 +02:00
parent 155e74cffb
commit 555b659df9

View File

@@ -80,7 +80,7 @@ jobs:
os:
- name: "macOS"
runner: "macos-latest"
target: " x86_64-apple-darwin"
target: "x86_64-apple-darwin"
- name: "Windows"
runner: "windows-latest"
target: "x86_64-pc-windows-msvc"
@@ -104,7 +104,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.os.target }}-${{ matrix.toolchain }}
key: cargo-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.os.target }}-${{ matrix.toolchain }}
- name: Install toolchain
uses: actions-rs/toolchain@v1