You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ab...@apache.org on 2026/03/23 19:19:12 UTC

(ranger) branch master updated: RANGER-5524: Bump GitHub Action versions (#883)

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

abhi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new e29143694 RANGER-5524: Bump GitHub Action versions (#883)
e29143694 is described below

commit e2914369477a3d2c104a62827502dc9057d0e169
Author: Abhishek Kumar <ab...@apache.org>
AuthorDate: Mon Mar 23 12:19:07 2026 -0700

    RANGER-5524: Bump GitHub Action versions (#883)
---
 .github/workflows/ci.yml              | 28 ++++++++++++++--------------
 .github/workflows/docs.yml            |  6 +++---
 .github/workflows/upgrade-ranger.yaml |  2 +-
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2b6baf3ec..8cd045bf4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,9 +37,9 @@ jobs:
     runs-on: ubuntu-22.04
     timeout-minutes: 60
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Cache for maven dependencies
-        uses: actions/cache@v4
+        uses: actions/cache@v5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -48,7 +48,7 @@ jobs:
           restore-keys: |
             maven-repo-
       - name: Set up JDK 8
-        uses: actions/setup-java@v4
+        uses: actions/setup-java@v5
         with:
           java-version: '8'
           distribution: 'temurin'
@@ -61,13 +61,13 @@ jobs:
           chmod +x coverage.sh && ./coverage.sh
 
       - name: upload coverage results
-        uses: actions/upload-artifact@v4
+        uses: actions/upload-artifact@v7
         with:
           name: jacoco
           path: target/coverage/all/*
 
       - name: Upload artifacts
-        uses: actions/upload-artifact@v4
+        uses: actions/upload-artifact@v7
         with:
           name: target-8
           path: target/*
@@ -78,9 +78,9 @@ jobs:
     runs-on: ubuntu-22.04
     timeout-minutes: 60
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Cache for maven dependencies
-        uses: actions/cache/restore@v4
+        uses: actions/cache/restore@v5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -89,14 +89,14 @@ jobs:
           restore-keys: |
             maven-repo-
       - name: Set up JDK 11
-        uses: actions/setup-java@v4
+        uses: actions/setup-java@v5
         with:
           java-version: '11'
           distribution: 'temurin'
       - name: build (11)
         run: mvn -T 8 clean verify -pl '!knox-agent' --no-transfer-progress -B -V
       - name: Upload artifacts
-        uses: actions/upload-artifact@v4
+        uses: actions/upload-artifact@v7
         with:
           name: target-11
           path: target/*
@@ -107,9 +107,9 @@ jobs:
     runs-on: ubuntu-24.04 # bumping os version for more disk space
     timeout-minutes: 60 # bumping timeout to allow containers to come up
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Download build-8 artifacts
-        uses: actions/download-artifact@v4
+        uses: actions/download-artifact@v8
         with:
           name: target-8
       
@@ -181,9 +181,9 @@ jobs:
     runs-on: ubuntu-24.04 # bumping os version for more disk space
     timeout-minutes: 60 # bumping timeout to allow containers to come up
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Download build-8 artifacts
-        uses: actions/download-artifact@v4
+        uses: actions/download-artifact@v8
         with:
           name: target-8
 
@@ -198,7 +198,7 @@ jobs:
         run: docker system prune --all --force --volumes
 
       - name: Cache downloaded archives
-        uses: actions/cache@v4
+        uses: actions/cache@v5
         with:
           path: dev-support/ranger-docker/downloads
           key: ${{ runner.os }}-ranger-downloads-${{ hashFiles('dev-support/ranger-docker/.env') }}
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 9a7282765..64b743dfa 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -31,7 +31,7 @@ jobs:
   deploy:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
         with:
           fetch-depth: 0
 
@@ -40,7 +40,7 @@ jobs:
           git config user.name "github-actions[bot]"
           git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
 
-      - uses: actions/setup-python@v5
+      - uses: actions/setup-python@v6
         with:
           python-version: '3.x'
 
@@ -48,7 +48,7 @@ jobs:
       - name: Compute cache key
         run: echo "cache_id=$(date --utc +%V)" >> "$GITHUB_ENV"
 
-      - uses: actions/cache@v4
+      - uses: actions/cache@v5
         with:
           key: mkdocs-material-${{ env.cache_id }}
           path: .cache
diff --git a/.github/workflows/upgrade-ranger.yaml b/.github/workflows/upgrade-ranger.yaml
index 0625a2e16..72397346a 100644
--- a/.github/workflows/upgrade-ranger.yaml
+++ b/.github/workflows/upgrade-ranger.yaml
@@ -40,7 +40,7 @@ jobs:
     runs-on: ubuntu-22.04
     timeout-minutes: 60
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
         with:
           ref: ${{ inputs.build-branch }}