From 32e11ac707d0cccc1b1430e124cb662edba7bd03 Mon Sep 17 00:00:00 2001 From: Andrew Steurer Date: Fri, 12 Jul 2024 00:39:22 -0600 Subject: [PATCH] trying chatgpt's suggestion Signed-off-by: Andrew Steurer --- .github/workflows/build-package.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-package.yaml b/.github/workflows/build-package.yaml index 84a04d2..61fd8a3 100644 --- a/.github/workflows/build-package.yaml +++ b/.github/workflows/build-package.yaml @@ -32,7 +32,7 @@ jobs: uses: actions/cache@v3 with: path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/*.rs') }} restore-keys: | ${{ runner.os }}-cargo-registry- @@ -40,7 +40,7 @@ jobs: uses: actions/cache@v3 with: path: ~/.cargo/index - key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/*.rs') }} restore-keys: | ${{ runner.os }}-cargo-index- @@ -48,7 +48,7 @@ jobs: uses: actions/cache@v3 with: path: target - key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/*.rs') }} restore-keys: | ${{ runner.os }}-cargo-build-