From afe68f5e6cd1e47c67411fa0fe65cb9f88d6e0cf Mon Sep 17 00:00:00 2001 From: Sandro Bonazzola Date: Wed, 11 Sep 2024 08:55:46 +0200 Subject: [PATCH] gh actions: update gh actions solves: The following actions use a deprecated Node.js version and will be forced to run on node20: * actions/checkout@v3, * docker/setup-buildx-action@v2, * docker/build-push-action@v3, * actions/cache@v3. Signed-off-by: Sandro Bonazzola --- .github/workflows/preview.yml | 12 ++++++------ .github/workflows/remove-preview.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 37b5e5b8edc..479e9645220 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: "Checkout repo" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -58,7 +58,7 @@ jobs: PREVIEW_LINK_BASE: ${{steps.details.outputs.PREVIEW_LINK_BASE}} steps: - name: "Checkout repo" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Extract PR details @@ -83,9 +83,9 @@ jobs: env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build container image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . push: false @@ -94,7 +94,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - name: Set up Jekyll cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor/bundle key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} @@ -129,7 +129,7 @@ jobs: cancel-in-progress: false steps: - name: "Checkout repo" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: gh-pages token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/remove-preview.yml b/.github/workflows/remove-preview.yml index 242c0b9a115..8a93e3c1922 100644 --- a/.github/workflows/remove-preview.yml +++ b/.github/workflows/remove-preview.yml @@ -16,7 +16,7 @@ jobs: cancel-in-progress: false steps: - name: Checkout gh-actions branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: gh-pages - name: Extract PR details