feat(workflow): improves cache and removes the need for --allow-dirty

feat(workflow): improves cache and removes the need for --allow-dirty
This commit is contained in:
itsscb 2024-09-07 01:30:10 +02:00 committed by GitHub
commit 0be719ad27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -26,7 +26,7 @@ jobs:
target/
frontend/node_modules/
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