fix(workflow): invalid files in cache key

This commit is contained in:
itsscb 2024-09-07 00:53:54 +02:00 committed by GitHub
parent 75a8f830eb
commit c5338a5961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ jobs:
frontend/node_modules/
target/
node_modules/
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.lock', '~/.cargo/bin/trunk', '**/rust-toolchain.toml', '**/rust-toolchain') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.lock', '~/.cargo/bin/trunk', './frontend/package-lock.json') }}
restore-keys: ${{ runner.os }}-cargo-wordl
- name: install rust