diff mbox series

ci: Update github actions to run on Node 16

Message ID 20230104193558.416538-1-arbab@linux.ibm.com
State Accepted
Headers show
Series ci: Update github actions to run on Node 16 | expand

Checks

Context Check Description
snowpatch_ozlabs/github-Docker_builds_and_checks fail check_build (fedora-rawhide) failed at step Build skiboot and run checks.

Commit Message

Reza Arbab Jan. 4, 2023, 7:35 p.m. UTC
Github is deprecating Node 12 for actions[1]. Update our workflow from
using actions/checkout@v2 to v3, which runs on Node 16.

[1] https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12

Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
---
 .github/workflows/build-docs.yml           | 2 +-
 .github/workflows/docker-builds-checks.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Frederic Barrat Jan. 6, 2023, 9:22 a.m. UTC | #1
On 04/01/2023 20:35, Reza Arbab wrote:
> Github is deprecating Node 12 for actions[1]. Update our workflow from
> using actions/checkout@v2 to v3, which runs on Node 16.
> 
> [1] https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12
> 
> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
> ---


Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>

   Fred


>   .github/workflows/build-docs.yml           | 2 +-
>   .github/workflows/docker-builds-checks.yml | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml
> index aab47f7dca8e..8a7266d42898 100644
> --- a/.github/workflows/build-docs.yml
> +++ b/.github/workflows/build-docs.yml
> @@ -12,7 +12,7 @@ jobs:
>   
>       steps:
>         - name: Checkout
> -        uses: actions/checkout@v2
> +        uses: actions/checkout@v3
>   
>         - name: Install apt dependencies
>           run: sudo apt-get update &&
> diff --git a/.github/workflows/docker-builds-checks.yml b/.github/workflows/docker-builds-checks.yml
> index 441d420e6ae9..b988f058ec3f 100644
> --- a/.github/workflows/docker-builds-checks.yml
> +++ b/.github/workflows/docker-builds-checks.yml
> @@ -15,7 +15,7 @@ jobs:
>           os: [ ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, ubuntu-rolling, centos7, fedora36, fedora37, fedora-rawhide, docs ]
>   
>       steps:
> -      - uses: actions/checkout@v2
> +      - uses: actions/checkout@v3
>   
>         - name: Create Docker image
>           run: |
Reza Arbab Jan. 20, 2023, 4:47 p.m. UTC | #2
On Wed, Jan 04, 2023 at 01:35:58PM -0600, Reza Arbab wrote:
>Github is deprecating Node 12 for actions[1]. Update our workflow from
>using actions/checkout@v2 to v3, which runs on Node 16.

Applied to master.
diff mbox series

Patch

diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml
index aab47f7dca8e..8a7266d42898 100644
--- a/.github/workflows/build-docs.yml
+++ b/.github/workflows/build-docs.yml
@@ -12,7 +12,7 @@  jobs:
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Install apt dependencies
         run: sudo apt-get update &&
diff --git a/.github/workflows/docker-builds-checks.yml b/.github/workflows/docker-builds-checks.yml
index 441d420e6ae9..b988f058ec3f 100644
--- a/.github/workflows/docker-builds-checks.yml
+++ b/.github/workflows/docker-builds-checks.yml
@@ -15,7 +15,7 @@  jobs:
         os: [ ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, ubuntu-rolling, centos7, fedora36, fedora37, fedora-rawhide, docs ]
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
       - name: Create Docker image
         run: |