mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
ci: cache cargo for the native core job
This commit is contained in:
parent
e29183fd2b
commit
594e26d281
1 changed files with 11 additions and 0 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
|
@ -103,6 +103,17 @@ jobs:
|
|||
github_token: ${{ steps.token.outputs.token }}
|
||||
working_directory: ./native
|
||||
|
||||
- name: Cache Cargo
|
||||
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
native/target
|
||||
key: native-cargo-${{ runner.os }}-${{ hashFiles('native/Cargo.lock', 'native/crates/immich_core_ffi/rust-toolchain.toml') }}
|
||||
restore-keys: |
|
||||
native-cargo-${{ runner.os }}-
|
||||
|
||||
- name: Check formatting
|
||||
run: cargo fmt --all --check
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue