From 630047d80a1f8b1b2a7312b6b1502014f504a1df Mon Sep 17 00:00:00 2001 From: Yukine Date: Sun, 19 Nov 2023 01:41:19 +0100 Subject: [PATCH] ci(build): check subdirectories for Cargo.lock file --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a142423..4e9ef5d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -36,7 +36,7 @@ jobs: ~/.cargo/git rustfoil-cli/target rustfoil-lib/target - key: ${{ matrix.target.build_target }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.target.build_target }}-cargo-${{ hashFiles('**/**/Cargo.lock') }} - name: Install Rust Toolchain uses: dtolnay/rust-toolchain@master with: @@ -73,7 +73,7 @@ jobs: ~/.cargo/git rustfoil-cli/target rustfoil-lib/target - key: ${{ matrix.target.build_target }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.target.build_target }}-cargo-${{ hashFiles('**/**/Cargo.lock') }} - name: Install Rust Toolchain uses: dtolnay/rust-toolchain@master with: @@ -108,7 +108,7 @@ jobs: ~/.cargo/git rustfoil-cli/target rustfoil-lib/target - key: ${{ matrix.target.build_target }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.target.build_target }}-cargo-${{ hashFiles('**/**/Cargo.lock') }} - name: Install Rust Toolchain uses: dtolnay/rust-toolchain@master with: