[llvm] [GitHub] use checkout action v4 (PR #65819)
Marc Auberer via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 8 15:39:41 PDT 2023
https://github.com/marcauberer created https://github.com/llvm/llvm-project/pull/65819:
Upgrade checkout action to v4 to make use of node20.
Node 16, which v3 is using, reaches end of life on 2023-09-11.
>From dea22d3a856776feee741bff335dfa9d85c6b82a Mon Sep 17 00:00:00 2001
From: Marc Auberer <marc.auberer at chillibits.com>
Date: Sat, 9 Sep 2023 00:33:33 +0200
Subject: [PATCH] [GitHub] use checkout action v4
Upgrade checkout action to v4 to make use of node20.
Node 16, which v3 is using, reaches end of life on 2023-09-11.
---
.github/workflows/issue-release-workflow.yml | 4 ++--
.github/workflows/libclang-abi-tests.yml | 2 +-
.github/workflows/llvm-project-tests.yml | 2 +-
.github/workflows/llvm-tests.yml | 2 +-
.github/workflows/release-binaries.yml | 4 ++--
.github/workflows/release-tasks.yml | 6 +++---
.github/workflows/sync-release-repo.yml | 2 +-
.github/workflows/version-check.yml | 2 +-
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml
index b30782d472a1f49..a4d4dd8e83fb472 100644
--- a/.github/workflows/issue-release-workflow.yml
+++ b/.github/workflows/issue-release-workflow.yml
@@ -39,7 +39,7 @@ jobs:
contains(github.event.action == 'opened' && github.event.issue.body || github.event.comment.body, '/cherry-pick')
steps:
- name: Fetch LLVM sources
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
with:
repository: llvm/llvm-project
# GitHub stores the token used for checkout and uses it for pushes
@@ -74,7 +74,7 @@ jobs:
steps:
- name: Fetch LLVM sources
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
with:
persist-credentials: false
diff --git a/.github/workflows/libclang-abi-tests.yml b/.github/workflows/libclang-abi-tests.yml
index 155a1fcda7b3a75..94e2f7ab0646bd0 100644
--- a/.github/workflows/libclang-abi-tests.yml
+++ b/.github/workflows/libclang-abi-tests.yml
@@ -41,7 +41,7 @@ jobs:
LLVM_VERSION_PATCH: ${{ steps.version.outputs.LLVM_VERSION_PATCH }}
steps:
- name: Checkout source
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
with:
fetch-depth: 250
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index 26a08a70f3db5f4..bb658f74cb27c35 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -62,7 +62,7 @@ jobs:
# actions/checkout deletes any existing files in the new git directory,
# so this needs to either run before ccache-action or it has to use
# clean: false.
- - uses: actions/checkout at v3
+ - uses: actions/checkout at v4
with:
fetch-depth: 250
- name: Setup ccache
diff --git a/.github/workflows/llvm-tests.yml b/.github/workflows/llvm-tests.yml
index b59607647c8fec5..3a0664d507d8c3c 100644
--- a/.github/workflows/llvm-tests.yml
+++ b/.github/workflows/llvm-tests.yml
@@ -67,7 +67,7 @@ jobs:
LLVM_VERSION_PATCH: ${{ steps.version.outputs.LLVM_VERSION_PATCH }}
steps:
- name: Checkout source
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
with:
fetch-depth: 250
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 2be6f0fbdc537ed..5088e609b9f8be7 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -34,7 +34,7 @@ jobs:
steps:
- name: Checkout LLVM
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
- name: Validate and parse tag
id: validate-tag
@@ -76,7 +76,7 @@ jobs:
steps:
- name: Checkout LLVM
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
with:
ref: ${{ needs.prepare.outputs.ref }}
path: ${{ needs.prepare.outputs.build-dir }}/llvm-project
diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml
index 5604b48857dbe25..6801e334d51a93b 100644
--- a/.github/workflows/release-tasks.yml
+++ b/.github/workflows/release-tasks.yml
@@ -38,7 +38,7 @@ jobs:
pip3 install --user sphinx-markdown-tables
- name: Checkout LLVM
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
- name: Create Release
run: |
@@ -57,7 +57,7 @@ jobs:
- name: Clone www-releases
if: ${{ !contains(steps.validate-tag.outputs.release-version, 'rc') }}
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
with:
repository: ${{ github.repository_owner }}/www-releases
ref: main
@@ -81,7 +81,7 @@ jobs:
if: github.repository == 'llvm/llvm-project'
steps:
- name: Checkout LLVM
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
- name: Install dependencies
run: sudo apt-get install -y python3-setuptools
diff --git a/.github/workflows/sync-release-repo.yml b/.github/workflows/sync-release-repo.yml
index 4643294cd7ca266..c328a9133e179de 100644
--- a/.github/workflows/sync-release-repo.yml
+++ b/.github/workflows/sync-release-repo.yml
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch LLVM sources
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
- name: Run Sync Script
run: |
llvm/utils/git/sync-release-repo.sh
diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml
index 86d43a9c792403e..4b6ef0776e822dc 100644
--- a/.github/workflows/version-check.yml
+++ b/.github/workflows/version-check.yml
@@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch LLVM sources
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
with:
fetch-depth: 0
More information about the llvm-commits
mailing list