feat(ci): also cache cargo stuff
All checks were successful
🚀 Lint & Test & Deploy / release (push) Successful in 4m15s

This commit is contained in:
2026-02-04 21:13:10 +01:00
parent 9c9f3ba3b7
commit cb6a35606d
2 changed files with 25 additions and 13 deletions

View File

@@ -9,6 +9,8 @@ on:
env:
PNPM_CACHE_FOLDER: ~/.pnpm-store
CARGO_HOME: ~/.cargo
CARGO_TARGET_DIR: target
jobs:
release:
@@ -30,6 +32,17 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-
- name: 🦀 Cache Cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: 📦 Install Dependencies
run: pnpm install --frozen-lockfile --store-dir ${{ env.PNPM_CACHE_FOLDER }}