From ecb35795ebcda13f5fe7bbe5127c5639d51d8f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20B=C3=B6ving?= Date: Mon, 12 Aug 2024 17:46:53 +0200 Subject: [PATCH] chore: upgrade cache action to silence warnings (#5003) According to the release notes of cache this should not break anything as they merely upgraded the node version. --- .github/workflows/ci.yml | 2 +- .github/workflows/nix-ci.yml | 4 ++-- .github/workflows/update-stage0.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 435a3dbfb5..7e275c87b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -330,7 +330,7 @@ jobs: sudo apt-get install -y gcc-multilib g++-multilib ccache libuv1-dev:i386 if: matrix.cmultilib - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .ccache key: ${{ matrix.name }}-build-v3-${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index 9db7eea053..b6dc88d438 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -55,7 +55,7 @@ jobs: # the default is to use a virtual merge commit between the PR and master: just use the PR ref: ${{ github.event.pull_request.head.sha }} - name: Set Up Nix Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nix-store-cache key: ${{ matrix.name }}-nix-store-cache-${{ github.sha }} @@ -78,7 +78,7 @@ jobs: sudo mkdir -m0770 -p /nix/var/cache/ccache sudo chown -R $USER /nix/var/cache/ccache - name: Setup CCache Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /nix/var/cache/ccache key: ${{ matrix.name }}-nix-ccache-${{ github.sha }} diff --git a/.github/workflows/update-stage0.yml b/.github/workflows/update-stage0.yml index fdeda92066..332a88309f 100644 --- a/.github/workflows/update-stage0.yml +++ b/.github/workflows/update-stage0.yml @@ -47,7 +47,7 @@ jobs: # uses: DeterminateSystems/magic-nix-cache-action@v2 - if: env.should_update_stage0 == 'yes' name: Restore Build Cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: nix-store-cache key: Nix Linux-nix-store-cache-${{ github.sha }}