mirror of
https://github.com/immich-app/immich.git
synced 2026-07-28 14:47:30 -07:00
ci: cache cargo for the native core job
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user