From 5a27e2be58d1a7cc9cdfc1b3a9f0f38d1e39d283 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Tue, 24 Dec 2024 11:09:52 -0600 Subject: [PATCH] Try smarter version of actions-rust-cross caching --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2c0544..ee793be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,7 +118,7 @@ jobs: run: sudo apt-get update --yes && sudo apt-get install --yes pkg-config openssl libssl-dev if: matrix.platform.features == 'native-tls' - name: Build binary - uses: houseabsolute/actions-rust-cross@v1 + uses: houseabsolute/actions-rust-cross@cache-key-refinement with: command: "build" target: ${{ matrix.platform.target }} @@ -127,7 +127,7 @@ jobs: "--locked --release --features ${{ steps.set-features-flag-value.outputs.features }}" strip: true - name: Run tests - uses: houseabsolute/actions-rust-cross@v1 + uses: houseabsolute/actions-rust-cross@cache-key-refinement with: command: "test" target: ${{ matrix.platform.target }}