This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 8c17138e9 ORC-1911: Update CIs to use `actions/checkout@v4` 
consistently
8c17138e9 is described below

commit 8c17138e9131ed9d92438e60aca09e237a05474b
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jun 9 11:59:38 2025 -0700

    ORC-1911: Update CIs to use `actions/checkout@v4` consistently
    
    ### What changes were proposed in this pull request?
    
    This PR aims to update CIs to use `actions/checkoutv4` consistently.
    
    ### Why are the changes needed?
    
    **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
    ```
    
    ### How was this patch tested?
    
    Manual check with the following.
    ```
    $ git grep actions/checkout | awk '{print $NF}' | sort | uniq -c
      11 actions/checkoutv4
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #2259 from dongjoon-hyun/ORC-1911.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    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 84986e245..80acec4f3 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
       with:
         fetch-depth: 0
     - name: Super-Linter
@@ -218,7 +218,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 5a91bcbfc..eb6d77123 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:

Reply via email to