diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dcb6f6b..3f41df9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -66,7 +66,18 @@ jobs: with: toolchain: stable targets: ${{ matrix.target }} - - uses: Swatinem/rust-cache@v2 + + - name: Cache Rust dependencies + uses: actions/cache@v4.0.2 + with: + path: | + ~/.cargo/registry/index + ~/.cargo/registry/cache + ~/.cargo/git + target + key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.target }}- - name: Install Linker Tools if: matrix.tools