diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 28c1a74..bc2e854 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,7 +42,7 @@ jobs: toolchain: ${{ matrix.rust }} - name: Cache cargo registry - uses: actions/cache@v3 + 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@v3 + 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@v3 + uses: actions/cache@v5 with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} @@ -84,7 +84,7 @@ jobs: components: clippy - name: Cache cargo registry - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} @@ -92,7 +92,7 @@ jobs: ${{ runner.os }}-cargo-registry- - name: Cache cargo build - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} @@ -133,7 +133,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Cache cargo registry - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} @@ -141,7 +141,7 @@ jobs: ${{ runner.os }}-cargo-registry- - name: Cache cargo build - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}