From: Tom Hromatka Date: Thu, 2 Feb 2023 15:11:54 +0000 (-0700) Subject: github: Update actions to remove warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ccec5102662b96174e1ff08ab7292cba4d9c5bf;p=thirdparty%2Flibcgroup.git github: Update actions to remove warnings 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 Reviewed-by: Kamalesh Babulal (cherry picked from commit aa03bb20393ab881ed164cf28fd81b244075defe) --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4aa82504..49edb651 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -54,7 +54,7 @@ jobs: - name: Check out source repository uses: actions/checkout@v2 - 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.*