]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Update actions to remove warnings
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 2 Feb 2023 15:10:19 +0000 (08:10 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 2 Feb 2023 15:10:19 +0000 (08:10 -0700)
Update the setup-python action to v4 and the upload-artifact
action to v3.  This should remove the following warnings:

Node.js 12 actions are deprecated. Please update the following
actions to use Node.js 16: actions/setup-python@v2. For more
information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Node.js 12 actions are deprecated. Please update the following
actions to use Node.js 16: actions/upload-artifact@v2,
coverallsapp/github-action@master. For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
.github/workflows/continuous-integration.yml

index f7f90ddf10e65c542ac6c592d45b3ad53a550453..0aef750ff3cf258dae17e98eecd39af6f8977905 100644 (file)
@@ -54,7 +54,7 @@ jobs:
       - name: Check out source repository
         uses: actions/checkout@v3
       - name: Set up Python environment
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v4
         with:
           python-version: "3.8"
       - name: flake8 Lint
@@ -114,7 +114,7 @@ jobs:
         parallel: True
     - name: Archive code coverage results
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Unit Test Code Coverage
         path: lcov.*
@@ -168,7 +168,7 @@ jobs:
         popd
     - name: Archive test logs
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v1 test logs
         path: ./*.log
@@ -183,7 +183,7 @@ jobs:
         parallel: True
     - name: Archive code coverage results
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v1 Code Coverage
         path: lcov.*
@@ -227,7 +227,7 @@ jobs:
         cat tests/ftests/ftests-nocontainer.sh.log
     - name: Archive test logs
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v1v2 test logs
         path: tests/ftests/*.log
@@ -242,7 +242,7 @@ jobs:
         parallel: True
     - name: Archive code coverage results
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v1v2 Code Coverage
         path: lcov.*
@@ -272,7 +272,7 @@ jobs:
         cat tests/ftests/ftests-nocontainer.sh.log
     - name: Archive test logs
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v2 test logs - legacy
         path: tests/ftests/*.log
@@ -287,7 +287,7 @@ jobs:
         parallel: True
     - name: Archive code coverage results
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v2 Code Coverage - legacy
         path: lcov.*
@@ -317,7 +317,7 @@ jobs:
         cat tests/ftests/ftests-nocontainer.sh.log
     - name: Archive test logs
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v2 test logs - hybrid
         path: tests/ftests/*.log
@@ -332,7 +332,7 @@ jobs:
         parallel: True
     - name: Archive code coverage results
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v2 Code Coverage - hybrid
         path: lcov.*
@@ -362,7 +362,7 @@ jobs:
         cat tests/ftests/ftests-nocontainer.sh.log
     - name: Archive test logs
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v2 test logs - unified
         path: tests/ftests/*.log
@@ -377,7 +377,7 @@ jobs:
         parallel: True
     - name: Archive code coverage results
       if: ${{ always() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: Cgroup v2 Code Coverage - unified
         path: lcov.*