diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d6819d9be..bf1803d23 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -42,7 +42,7 @@ jobs: components: rustfmt, clippy - name: Cache cargo registry - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} @@ -50,7 +50,7 @@ jobs: ${{ runner.os }}-cargo-registry- - name: Cache cargo index - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }} @@ -58,7 +58,7 @@ jobs: ${{ runner.os }}-cargo-git- - name: Cache cargo build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: target key: ${{ runner.os }}-cargo-build-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} @@ -84,7 +84,7 @@ jobs: components: rustfmt, clippy - name: Cache cargo - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.cargo/registry @@ -109,7 +109,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Cache cargo - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.cargo/registry