diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a731d98..3563006 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: