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-