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/registry
~/.cargo/git ~/.cargo/git
ruby/target 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 - name: Check formatting
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: Build - name: Build

View File

@@ -9,7 +9,7 @@ runs:
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
ruby/target 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 - name: Build Extractor
shell: bash shell: bash
run: scripts/create-extractor-pack.sh run: scripts/create-extractor-pack.sh