This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 52ae81c33 ORC-1911: Update CIs to use `actions/checkout@v4`
consistently
52ae81c33 is described below
commit 52ae81c3366d434bf1f64377d2110b9cd50d88d5
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jun 9 11:59:38 2025 -0700
ORC-1911: Update CIs to use `actions/checkout@v4` consistently
This PR aims to update CIs to use `actions/checkoutv4` consistently.
**BEFORE**
```
$ git grep actions/checkout | awk '{print $NF}' | sort | uniq -c
1 actions/checkoutmaster
5 actions/checkoutv2
1 actions/checkoutv3
4 actions/checkoutv4
```
**AFTER**
```
$ git grep actions/checkout | awk '{print $NF}' | sort | uniq -c
11 actions/checkoutv4
```
Manual check with the following.
```
$ git grep actions/checkout | awk '{print $NF}' | sort | uniq -c
11 actions/checkoutv4
```
No.
Closes #2259 from dongjoon-hyun/ORC-1911.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 8c17138e9131ed9d92438e60aca09e237a05474b)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_and_test.yml | 12 ++++++------
.github/workflows/publish_snapshot.yml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 185b9fd62..910815ad1 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -52,7 +52,7 @@ jobs:
- amazonlinux23
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: "Test"
run: |
cd docker
@@ -85,7 +85,7 @@ jobs:
MAVEN_SKIP_RC: true
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Install Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
@@ -117,7 +117,7 @@ jobs:
ORC_USER_SIMD_LEVEL: AVX512
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Add msbuild to PATH
uses: microsoft/[email protected]
with:
@@ -149,7 +149,7 @@ jobs:
ORC_USER_SIMD_LEVEL: AVX512
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: "Test"
run: |
mkdir -p ~/.m2
@@ -163,7 +163,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Install Java 17
uses: actions/setup-java@v4
with:
@@ -210,7 +210,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Check license header
uses: apache/skywalking-eyes@main
env:
diff --git a/.github/workflows/publish_snapshot.yml
b/.github/workflows/publish_snapshot.yml
index 96a4a2beb..51070d388 100644
--- a/.github/workflows/publish_snapshot.yml
+++ b/.github/workflows/publish_snapshot.yml
@@ -10,7 +10,7 @@ jobs:
if: github.repository == 'apache/orc'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@master
+ - uses: actions/checkout@v4
- uses: actions/setup-java@v3
with: