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

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


The following commit(s) were added to refs/heads/main by this push:
     new 4dfbe05641 NIFI-12753 Updated GitHub Actions to current versions
4dfbe05641 is described below

commit 4dfbe0564139dc41b71a7f180a415371bf180a40
Author: Joseph Witt <[email protected]>
AuthorDate: Wed Feb 7 10:26:16 2024 -0700

    NIFI-12753 Updated GitHub Actions to current versions
    
    - Upgraded cache from 3 to 4
    - Upgraded CodeQL from 2 to 3
    - Upgraded Codecov from 3 to 4
    - Upgraded upload-artifact from 3 to 4
    - Upgraded stale from 6 to 9
    
    This closes #8373
    
    Signed-off-by: David Handermann <[email protected]>
---
 .github/workflows/ci-workflow.yml       | 20 ++++++++++----------
 .github/workflows/dependency-check.yml  |  2 +-
 .github/workflows/integration-tests.yml |  2 +-
 .github/workflows/stale.yml             |  2 +-
 .github/workflows/system-tests.yml      |  2 +-
 5 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/ci-workflow.yml 
b/.github/workflows/ci-workflow.yml
index e357aed12c..9349c8bfab 100644
--- a/.github/workflows/ci-workflow.yml
+++ b/.github/workflows/ci-workflow.yml
@@ -90,7 +90,7 @@ jobs:
       - name: Checkout Code
         uses: actions/checkout@v4
       - name: Cache Maven Modules
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: |
             ~/.m2/repository
@@ -111,7 +111,7 @@ jobs:
           -P contrib-check
           -P include-new-ui
       - name: Initialize CodeQL
-        uses: github/codeql-action/init@v2
+        uses: github/codeql-action/init@v3
         with:
           languages: java
       - name: Maven Compile
@@ -122,7 +122,7 @@ jobs:
           ${{ env.MAVEN_COMMAND }}
           ${{ env.MAVEN_COMPILE_COMMAND }}
       - name: Perform CodeQL Analysis
-        uses: github/codeql-action/analyze@v2
+        uses: github/codeql-action/analyze@v3
 
   ubuntu-build-en:
     timeout-minutes: 120
@@ -138,7 +138,7 @@ jobs:
       - name: Checkout Code
         uses: actions/checkout@v4
       - name: Cache Node Modules
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: |
             ~/.npm
@@ -170,11 +170,11 @@ jobs:
           -P python-unit-tests
           ${{ env.MAVEN_PROJECTS }}
       - name: Codecov
-        uses: codecov/codecov-action@v3
+        uses: codecov/codecov-action@v4
         with:
           files: ./nifi-code-coverage/target/site/jacoco-aggregate/jacoco.xml
       - name: Upload Test Reports
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: surefire-reports-ubuntu-21
           path: |
@@ -200,7 +200,7 @@ jobs:
       - name: Checkout Code
         uses: actions/checkout@v4
       - name: Cache Node Modules
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: |
             ~/.npm
@@ -239,7 +239,7 @@ jobs:
           -P python-unit-tests
           ${{ env.MAVEN_PROJECTS }}
       - name: Upload Test Reports
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: surefire-reports-macos-jp
           path: |
@@ -267,7 +267,7 @@ jobs:
       - name: Checkout Code
         uses: actions/checkout@v4
       - name: Cache Node Modules
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: |
             ~\AppData\npm-cache
@@ -305,7 +305,7 @@ jobs:
           ${{ env.MAVEN_BUILD_PROFILES }}
           ${{ env.MAVEN_PROJECTS }}
       - name: Upload Test Reports
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: surefire-reports-windows-fr
           path: |
diff --git a/.github/workflows/dependency-check.yml 
b/.github/workflows/dependency-check.yml
index c066c2963f..35654c292f 100644
--- a/.github/workflows/dependency-check.yml
+++ b/.github/workflows/dependency-check.yml
@@ -62,7 +62,7 @@ jobs:
           --activate-profiles dependency-check
           validate
       - name: Upload Report
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: dependency-check-report
           path: |
diff --git a/.github/workflows/integration-tests.yml 
b/.github/workflows/integration-tests.yml
index 209a512516..4a49145305 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -122,7 +122,7 @@ jobs:
           ${{ env.MAVEN_BUILD_EXCLUDE_PROJECTS }}
       - name: Upload Troubleshooting Logs
         if: failure() || cancelled()
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: ubuntu-21-failsafe-logs
           path: |
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index c05fb1b1a1..a50de3d3b3 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -29,7 +29,7 @@ jobs:
       pull-requests: write
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/stale@v6
+      - uses: actions/stale@v9
         with:
           repo-token: ${{ secrets.GITHUB_TOKEN }}
           stale-pr-message: >
diff --git a/.github/workflows/system-tests.yml 
b/.github/workflows/system-tests.yml
index 9cc8e36069..9541cbf0ae 100644
--- a/.github/workflows/system-tests.yml
+++ b/.github/workflows/system-tests.yml
@@ -127,7 +127,7 @@ jobs:
           ${{ env.MAVEN_PROJECTS }}
       - name: Upload Troubleshooting Logs
         if: failure() || cancelled()
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: ${{ matrix.os }}-${{ matrix.version }}-troubleshooting-logs
           path: |

Reply via email to