diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fafaa14..c7851e8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,12 +20,12 @@ jobs: rustup default ${RUST_VERSION} rustup component add rustfmt clippy - name: Cache cargo registry - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo build - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de64117..4ae7604 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,11 +63,11 @@ jobs: rustup toolchain install ${RUST_VERSION} --profile minimal --no-self-update rustup default ${RUST_VERSION} rustup target add --toolchain ${RUST_VERSION} x86_64-unknown-linux-musl - - uses: actions/cache@v5 + - uses: actions/cache@v6 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-rpm-registry-${{ hashFiles('**/Cargo.lock') }} - - uses: actions/cache@v5 + - uses: actions/cache@v6 with: path: target key: ${{ runner.os }}-cargo-rpm-build-target-${{ hashFiles('**/Cargo.lock') }}