use smarter cache
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 25m59s

This commit is contained in:
philipp 2024-05-26 13:07:21 +02:00
parent 59043e1376
commit 569cb08a6d

View File

@ -16,7 +16,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set up cargo cache laws
- name: Set up cache laws
uses: actions/cache@v3
with:
path: |
@ -24,17 +24,8 @@ jobs:
key: risp-cache-${{ hashFiles('**/laws/*') }}
restore-keys: risp-cache-
- name: Set up cargo cache rust
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Build
run: |