Simplify cache key

This commit is contained in:
Harry Maclean
2022-02-04 07:41:29 +13:00
parent ce0354acb3
commit 912842623d
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
ruby/target
key: ${{ runner.os }}-ruby-rust-${{hashFiles('ruby/rust-toolchain.toml'}}-cargo-${{ hashFiles('ruby/**/Cargo.lock') }}
key: ${{ runner.os }}-ruby-rust-cargo-${{ hashFiles('ruby/rust-toolchain.toml', 'ruby/**/Cargo.lock') }}
- name: Check formatting
run: cargo fmt --all -- --check
- name: Build

View File

@@ -9,7 +9,7 @@ runs:
~/.cargo/registry
~/.cargo/git
ruby/target
key: ${{ runner.os }}-ruby-qltest-${{hashFiles('ruby/rust-toolchain.toml')}}-cargo-${{ hashFiles('ruby/**/Cargo.lock') }}
key: ${{ runner.os }}-ruby-qltest-cargo-${{ hashFiles('ruby/rust-toolchain.toml', 'ruby/**/Cargo.lock') }}
- name: Build Extractor
shell: bash
run: scripts/create-extractor-pack.sh