address most Node.js 12 deprecation warnings in GitHub workflows (#4546)
This commit is contained in:
parent
c51fb3864a
commit
ca9747cf7d
|
@ -28,7 +28,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Cygwin
|
- name: Set up Cygwin
|
||||||
uses: cygwin/cygwin-install-action@master
|
uses: cygwin/cygwin-install-action@master
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up MinGW
|
- name: Set up MinGW
|
||||||
uses: egor-tensin/setup-mingw@v2
|
uses: egor-tensin/setup-mingw@v2
|
||||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install missing software on CentOS 7
|
- name: Install missing software on CentOS 7
|
||||||
if: matrix.image == 'centos:7'
|
if: matrix.image == 'centos:7'
|
||||||
|
@ -95,7 +95,7 @@ jobs:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install missing software on CentOS 7
|
- name: Install missing software on CentOS 7
|
||||||
if: matrix.image == 'centos:7'
|
if: matrix.image == 'centos:7'
|
||||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
CCACHE_SLOPPINESS: pch_defines,time_macros
|
CCACHE_SLOPPINESS: pch_defines,time_macros
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -71,7 +71,7 @@ jobs:
|
||||||
CCACHE_SLOPPINESS: pch_defines,time_macros
|
CCACHE_SLOPPINESS: pch_defines,time_macros
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -153,7 +153,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -185,7 +185,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# coreutils contains "g++" (default is "c++") and "nproc"
|
# coreutils contains "g++" (default is "c++") and "nproc"
|
||||||
- name: Install missing software on macos
|
- name: Install missing software on macos
|
||||||
|
@ -207,7 +207,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install missing software on ubuntu
|
- name: Install missing software on ubuntu
|
||||||
if: contains(matrix.os, 'ubuntu')
|
if: contains(matrix.os, 'ubuntu')
|
||||||
|
@ -290,7 +290,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build Fuzzer
|
- name: Build Fuzzer
|
||||||
run: |
|
run: |
|
||||||
|
@ -307,7 +307,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -434,7 +434,7 @@ jobs:
|
||||||
runs-on: ubuntu-22.04 # run on the latest image only
|
runs-on: ubuntu-22.04 # run on the latest image only
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Visual Studio environment
|
- name: Set up Visual Studio environment
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
@ -85,10 +85,10 @@ jobs:
|
||||||
PCRE_VERSION: 8.45
|
PCRE_VERSION: 8.45
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache PCRE
|
- name: Cache PCRE
|
||||||
id: cache-pcre
|
id: cache-pcre
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
externals\pcre.h
|
externals\pcre.h
|
||||||
|
|
|
@ -16,10 +16,10 @@ jobs:
|
||||||
ASAN_OPTIONS: detect_stack_use_after_return=1
|
ASAN_OPTIONS: detect_stack_use_after_return=1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
convert_via_pandoc:
|
convert_via_pandoc:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
mkdir output
|
mkdir output
|
||||||
|
@ -22,7 +22,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
args: --output=output/manual.pdf man/manual.md
|
args: --output=output/manual.pdf man/manual.md
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: output
|
name: output
|
||||||
path: output
|
path: output
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
QT_VERSION: 5.15.2
|
QT_VERSION: 5.15.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install missing software
|
- name: Install missing software
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install missing software on ubuntu
|
- name: Install missing software on ubuntu
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info
|
lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info
|
||||||
genhtml lcov.info -o coverage_report --frame --legend --demangle-cpp
|
genhtml lcov.info -o coverage_report --frame --legend --demangle-cpp
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Coverage results
|
name: Coverage results
|
||||||
path: coverage_report
|
path: coverage_report
|
||||||
|
|
|
@ -13,10 +13,10 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Cache uncrustify
|
- name: Cache uncrustify
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: cache-uncrustify
|
id: cache-uncrustify
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
image: "debian:unstable" # use latest debian image to get latest include-what-you-get
|
image: "debian:unstable" # use latest debian image to get latest include-what-you-get
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
|
# TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
|
||||||
- name: Install missing software
|
- name: Install missing software
|
||||||
|
@ -52,12 +52,12 @@ jobs:
|
||||||
# do not fail for now so the output is being saved
|
# do not fail for now so the output is being saved
|
||||||
iwyu_tool -p cmake.output -j $(nproc) -- -w > iwyu.log || true
|
iwyu_tool -p cmake.output -j $(nproc) -- -w > iwyu.log || true
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Qt Mappings
|
name: Qt Mappings
|
||||||
path: ./qt5.imp
|
path: ./qt5.imp
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Logs
|
name: Logs
|
||||||
path: ./*.log
|
path: ./*.log
|
||||||
|
|
|
@ -31,14 +31,14 @@ jobs:
|
||||||
QT_VERSION: 5.15.2
|
QT_VERSION: 5.15.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Visual Studio environment
|
- name: Set up Visual Studio environment
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
|
||||||
- name: Cache PCRE
|
- name: Cache PCRE
|
||||||
id: cache-pcre
|
id: cache-pcre
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
externals\pcre.h
|
externals\pcre.h
|
||||||
|
@ -128,12 +128,12 @@ jobs:
|
||||||
echo ProductVersion="%PRODUCTVER%" || exit /b !errorlevel!
|
echo ProductVersion="%PRODUCTVER%" || exit /b !errorlevel!
|
||||||
msbuild -m cppcheck.wixproj -p:Platform=x64,ProductVersion=%PRODUCTVER%.${{ github.run_number }} || exit /b !errorlevel!
|
msbuild -m cppcheck.wixproj -p:Platform=x64,ProductVersion=%PRODUCTVER%.${{ github.run_number }} || exit /b !errorlevel!
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: installer
|
name: installer
|
||||||
path: win_installer/Build/
|
path: win_installer/Build/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: deploy
|
name: deploy
|
||||||
path: win_installer\files
|
path: win_installer\files
|
||||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -22,7 +22,7 @@ jobs:
|
||||||
key: ${{ github.workflow }}-${{ runner.os }}
|
key: ${{ github.workflow }}-${{ runner.os }}
|
||||||
|
|
||||||
- name: Cache Cppcheck
|
- name: Cache Cppcheck
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: cppcheck
|
path: cppcheck
|
||||||
key: ${{ runner.os }}-scriptcheck-cppcheck-${{ github.sha }}
|
key: ${{ runner.os }}-scriptcheck-cppcheck-${{ github.sha }}
|
||||||
|
@ -44,16 +44,16 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Restore Cppcheck
|
- name: Restore Cppcheck
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: cppcheck
|
path: cppcheck
|
||||||
key: ${{ runner.os }}-scriptcheck-cppcheck-${{ github.sha }}
|
key: ${{ runner.os }}-scriptcheck-cppcheck-${{ github.sha }}
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
QT_VERSION: 5.15.2
|
QT_VERSION: 5.15.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install missing software
|
- name: Install missing software
|
||||||
run: |
|
run: |
|
||||||
|
@ -129,7 +129,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DISABLE_VALUEFLOW: 1
|
DISABLE_VALUEFLOW: 1
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Callgrind Output
|
name: Callgrind Output
|
||||||
path: ./callgrind.*
|
path: ./callgrind.*
|
||||||
|
|
|
@ -16,10 +16,10 @@ jobs:
|
||||||
TSAN_OPTIONS: halt_on_error=1
|
TSAN_OPTIONS: halt_on_error=1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
||||||
|
|
|
@ -16,10 +16,10 @@ jobs:
|
||||||
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1
|
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --suppressions=valgrind/testrunner.supp --gen-suppressions=all --log-fd=9 --error-exitcode=42 ./testrunner TestGarbage TestOther TestSimplifyTemplate 9>memcheck.log
|
valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --suppressions=valgrind/testrunner.supp --gen-suppressions=all --log-fd=9 --error-exitcode=42 ./testrunner TestGarbage TestOther TestSimplifyTemplate 9>memcheck.log
|
||||||
cat memcheck.log
|
cat memcheck.log
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Logs
|
name: Logs
|
||||||
path: ./*.log
|
path: ./*.log
|
||||||
|
|
Loading…
Reference in New Issue