From patchwork Wed Jan 31 17:44:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 136236 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9324C43A22; Wed, 31 Jan 2024 18:44:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D9BE342D95; Wed, 31 Jan 2024 18:44:51 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id D4EDA42D95 for ; Wed, 31 Jan 2024 18:44:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706723090; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GvKV6qdLBMU1YQzliXdY19ZKMKOgST2nGN1cyvGvxuU=; b=hQful1JdNy9R5CLJq/CMD6ISJTxjPqvqN09VOVnfQ5D56pfVAcKqIAORihxm/dSqsCtpoC Xqs9PamGx9GlDg436fjWt0s/axCYyDEKY6+VCDYYg5xKqfKaz/1mQA+z9DOo5vhgChaA7I ErFoHqpY5jPlU8fPp6Jsqc0xG69QgzQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-684-x846pIG2Pt6kfuuJhj1etg-1; Wed, 31 Jan 2024 12:44:48 -0500 X-MC-Unique: x846pIG2Pt6kfuuJhj1etg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 52DB21C29EA3; Wed, 31 Jan 2024 17:44:48 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 705451C060AF; Wed, 31 Jan 2024 17:44:47 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Aaron Conole , Michael Santana Subject: [PATCH 2/2] ci: update versions of actions in GHA Date: Wed, 31 Jan 2024 18:44:36 +0100 Message-ID: <20240131174437.2494815-2-david.marchand@redhat.com> In-Reply-To: <20240131174437.2494815-1-david.marchand@redhat.com> References: <20240131174437.2494815-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org GitHub started deprecating GHA actions based on Node 16 [1]. For now, only warnings are raised, but we might as well switch to v4 versions of the common actions, now. Link: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ Cc: stable@dpdk.org Signed-off-by: David Marchand Acked-by: Aaron Conole --- .github/workflows/build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 421207c241..776fbf6f30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,7 +72,7 @@ jobs: steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate cache keys id: get_ref_keys run: | @@ -80,7 +80,7 @@ jobs: echo 'libabigail=libabigail-${{ env.LIBABIGAIL_VERSION }}-${{ matrix.config.os }}' >> $GITHUB_OUTPUT echo 'abi=abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.REF_GIT_TAG }}' >> $GITHUB_OUTPUT - name: Retrieve ccache cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.ccache key: ${{ steps.get_ref_keys.outputs.ccache }}-${{ github.ref }} @@ -88,13 +88,13 @@ jobs: ${{ steps.get_ref_keys.outputs.ccache }}-refs/heads/main - name: Retrieve libabigail cache id: libabigail-cache - uses: actions/cache@v3 + uses: actions/cache@v4 if: env.ABI_CHECKS == 'true' with: path: libabigail key: ${{ steps.get_ref_keys.outputs.libabigail }} - name: Retrieve ABI reference cache - uses: actions/cache@v3 + uses: actions/cache@v4 if: env.ABI_CHECKS == 'true' with: path: reference @@ -143,7 +143,7 @@ jobs: run: .ci/linux-build.sh - name: Upload logs on failure if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: meson-logs-${{ join(matrix.config.*, '-') }} path: | @@ -171,7 +171,7 @@ jobs: echo 'image=image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) >> $GITHUB_OUTPUT - name: Retrieve image cache id: image_cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.image key: ${{ steps.get_keys.outputs.image }} @@ -218,7 +218,7 @@ jobs: steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate various keys id: get_keys run: | @@ -226,7 +226,7 @@ jobs: echo 'logs=meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':' >> $GITHUB_OUTPUT - name: Retrieve image cache id: image_cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.image key: ${{ needs.prepare-container-images.outputs.image }} @@ -236,7 +236,7 @@ jobs: echo 'Image ${{ matrix.config.image }} is not cached.' false - name: Retrieve ccache cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.ccache key: ${{ steps.get_keys.outputs.ccache }}-${{ github.ref }} @@ -276,7 +276,7 @@ jobs: run: docker kill dpdk - name: Upload logs on failure if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.get_keys.outputs.logs }} path: |