GitHub Actions: update to Node.js 16 actions (#1801)
Fix warnings on recent CI results; example: https://github.com/ntop/nDPI/actions/runs/3455588082 See: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Add msbuild to PATH
|
- name: Add msbuild to PATH
|
||||||
uses: microsoft/setup-msbuild@v1.1
|
uses: microsoft/setup-msbuild@v1.1
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug-ndpiReader
|
run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug-ndpiReader
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-artifacts
|
name: build-artifacts
|
||||||
path: windows/bin
|
path: windows/bin
|
||||||
|
|||||||
+11
-11
@@ -16,7 +16,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CFLAGS: -Werror
|
CFLAGS: -Werror
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install Ubuntu Prerequisites
|
- name: Install Ubuntu Prerequisites
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
mkdir -vp coverage_report/ndpi_coverage_report
|
mkdir -vp coverage_report/ndpi_coverage_report
|
||||||
lcov --directory . --capture --output-file lcov.info
|
lcov --directory . --capture --output-file lcov.info
|
||||||
genhtml -o coverage_report/ndpi_coverage_report lcov.info
|
genhtml -o coverage_report/ndpi_coverage_report lcov.info
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ndpi-coverage-report
|
name: ndpi-coverage-report
|
||||||
path: coverage_report
|
path: coverage_report
|
||||||
@@ -50,11 +50,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CFLAGS: -Werror
|
CFLAGS: -Werror
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.9
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
- name: Install Ubuntu Prerequisites
|
- name: Install Ubuntu Prerequisites
|
||||||
@@ -82,11 +82,11 @@ jobs:
|
|||||||
name: Documentation (ubuntu-latest)
|
name: Documentation (ubuntu-latest)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.9
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
- name: Install Ubuntu Prerequisites
|
- name: Install Ubuntu Prerequisites
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
make doc
|
make doc
|
||||||
mkdir -vp doc/_build/ndpi-documentation-upload/ndpi-documentation
|
mkdir -vp doc/_build/ndpi-documentation-upload/ndpi-documentation
|
||||||
mv -v doc/_build/html doc/_build/ndpi-documentation-upload/ndpi-documentation/html
|
mv -v doc/_build/html doc/_build/ndpi-documentation-upload/ndpi-documentation/html
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ndpi-documentation
|
name: ndpi-documentation
|
||||||
path: doc/_build/ndpi-documentation-upload
|
path: doc/_build/ndpi-documentation-upload
|
||||||
@@ -116,7 +116,7 @@ jobs:
|
|||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
CFLAGS: -Werror
|
CFLAGS: -Werror
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install Ubuntu Prerequisites
|
- name: Install Ubuntu Prerequisites
|
||||||
@@ -139,7 +139,7 @@ jobs:
|
|||||||
mkdir ndpi-performance-upload
|
mkdir ndpi-performance-upload
|
||||||
mv -v tests/result/cpu_profile.png ndpi-performance-upload/cpu_profile.png
|
mv -v tests/result/cpu_profile.png ndpi-performance-upload/cpu_profile.png
|
||||||
mv -v tests/result/heap_profile.png ndpi-performance-upload/heap_profile.png
|
mv -v tests/result/heap_profile.png ndpi-performance-upload/heap_profile.png
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ndpi-performance
|
name: ndpi-performance
|
||||||
path: ndpi-performance-upload
|
path: ndpi-performance-upload
|
||||||
@@ -149,7 +149,7 @@ jobs:
|
|||||||
name: Test Utils (ubuntu-latest)
|
name: Test Utils (ubuntu-latest)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install Ubuntu Prerequisites
|
- name: Install Ubuntu Prerequisites
|
||||||
@@ -303,7 +303,7 @@ jobs:
|
|||||||
if: startsWith(matrix.os, 'ubuntu') && !startsWith(matrix.arch, 'x86_64')
|
if: startsWith(matrix.os, 'ubuntu') && !startsWith(matrix.arch, 'x86_64')
|
||||||
run: |
|
run: |
|
||||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
- name: Install Ubuntu Prerequisites
|
- name: Install Ubuntu Prerequisites
|
||||||
|
|||||||
Reference in New Issue
Block a user