diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7ac5f4e..21a4ce3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -43,7 +43,7 @@ jobs: components: rustfmt, clippy - name: Cache cargo registry - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cargo/registry key: docker-registry-${{ hashFiles('**/Cargo.lock') }} @@ -52,7 +52,7 @@ jobs: docker- - name: Cache cargo index - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cargo/git key: docker-index-${{ hashFiles('**/Cargo.lock') }} @@ -65,7 +65,7 @@ jobs: head -c16 /dev/urandom > src/secret.key - name: Cache cargo build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: target key: docker-build-${{ hashFiles('**/Cargo.lock') }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 11da4de..4ef56d0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -42,21 +42,21 @@ jobs: target: ${{ matrix.target }} override: true - name: Cache cargo registry - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} restore-keys: | ${{ runner.os }}-cargo-registry- - name: Cache cargo index - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} restore-keys: | ${{ runner.os }}-cargo-index- - name: Cache target directory - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: target key: ${{ runner.os }}-target-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}