Skip to content

Commit

Permalink
CI: include priv/native in cargo cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sax committed Sep 22, 2023
1 parent 72829d7 commit eea9ba3
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
~/.cargo/registry
~/.cargo/git
native/specter_nif/target
key: ${{ runner.os }}-test-deps-v1-${{ hashFiles('**/mix.lock', '.tool-versions') }}
priv/native
key: ${{ runner.os }}-test-cargo-v2-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}
- name: Cache _build
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -80,7 +81,8 @@ jobs:
~/.cargo/registry
~/.cargo/git
native/specter_nif/target
key: ${{ runner.os }}-dev-cargo-v1-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}
priv/native
key: ${{ runner.os }}-dev-cargo-v2-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}
- name: Cache _build
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -123,7 +125,8 @@ jobs:
~/.cargo/registry
~/.cargo/git
native/specter_nif/target
key: ${{ runner.os }}-test-cargo-v1-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}
priv/native
key: ${{ runner.os }}-test-cargo-v2-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}
- name: Cache _build
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -158,7 +161,8 @@ jobs:
~/.cargo/registry
~/.cargo/git
native/specter_nif/target
key: ${{ runner.os }}-test-cargo-v1-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}
priv/native
key: ${{ runner.os }}-test-cargo-v2-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}
- name: Cache _build
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -201,7 +205,8 @@ jobs:
~/.cargo/registry
~/.cargo/git
native/specter_nif/target
key: ${{ runner.os }}-dev-cargo-v1-${{ hashFiles('**/Cargo.lock') }}}-${{ env.RUST_VERSION }}
priv/native
key: ${{ runner.os }}-dev-cargo-v2-${{ hashFiles('**/Cargo.lock') }}}-${{ env.RUST_VERSION }}
- name: Cache _build
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -244,7 +249,8 @@ jobs:
~/.cargo/registry
~/.cargo/git
native/specter_nif/target
key: ${{ runner.os }}-dev-cargo-v1-${{ hashFiles('**/Cargo.lock') }}}-${{ env.RUST_VERSION }}
priv/native
key: ${{ runner.os }}-dev-cargo-v2-${{ hashFiles('**/Cargo.lock') }}}-${{ env.RUST_VERSION }}
- name: Cache _build
uses: actions/cache@v3
with:
Expand Down

0 comments on commit eea9ba3

Please sign in to comment.