ci: tweak cache keys
This commit is contained in:
4
.github/workflows/check.yaml
vendored
4
.github/workflows/check.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user