diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ee4ce59..c369dd4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,11 +22,11 @@ jobs: path: | target/**/build target/**/deps - key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }} + target/**/incremental + key: ${{ runner.os }}-build-${{ hashFiles('Cargo.lock') }} restore-keys: | - ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }} + ${{ runner.os }}-build-${{ hashFiles('Cargo.lock') }} ${{ runner.os }}-build- - ${{ runner.os }}- - name: Build run: cargo build --verbose - name: Run tests