github: Update GitHub-provided actions for Node.js update
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
# since the NDK might be newly installed, we have to use this to avoid cache misses
|
# since the NDK might be newly installed, we have to use this to avoid cache misses
|
||||||
CCACHE_COMPILERCHECK: content
|
CCACHE_COMPILERCHECK: content
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
# make sure the NDK we reference is installed and exported so we can use it to build OpenSSL
|
# make sure the NDK we reference is installed and exported so we can use it to build OpenSSL
|
||||||
- name: Install NDK
|
- name: Install NDK
|
||||||
id: ndk-install
|
id: ndk-install
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
echo Using NDK ${NDK_VERSION}
|
echo Using NDK ${NDK_VERSION}
|
||||||
yes | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VERSION}"
|
yes | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VERSION}"
|
||||||
echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/${NDK_VERSION}" >> "$GITHUB_OUTPUT"
|
echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/${NDK_VERSION}" >> "$GITHUB_OUTPUT"
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/ccache
|
path: ~/.cache/ccache
|
||||||
key: ccache-android-${{ github.sha }}
|
key: ccache-android-${{ github.sha }}
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ANDROID_NDK_ROOT: ${{ steps.ndk-install.outputs.ANDROID_NDK_ROOT }}
|
ANDROID_NDK_ROOT: ${{ steps.ndk-install.outputs.ANDROID_NDK_ROOT }}
|
||||||
- run: ccache -s
|
- run: ccache -s
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Lint Results
|
name: Lint Results
|
||||||
path: src/frontends/android/app/build/reports/lint-results*.xml
|
path: src/frontends/android/app/build/reports/lint-results*.xml
|
||||||
|
|||||||
@@ -34,20 +34,20 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
language: [ 'cpp', 'python', 'ruby' ]
|
language: [ 'cpp', 'python', 'ruby' ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
config-file: ./.github/codeql/config.yml
|
config-file: ./.github/codeql/config.yml
|
||||||
|
|
||||||
- if: matrix.language == 'python' || matrix.language == 'ruby'
|
- if: matrix.language == 'python' || matrix.language == 'ruby'
|
||||||
name: Autobuild
|
name: Autobuild
|
||||||
uses: github/codeql-action/autobuild@v2
|
uses: github/codeql-action/autobuild@v3
|
||||||
|
|
||||||
# this follows the steps of the Linux workflow
|
# this follows the steps of the Linux workflow
|
||||||
- if: matrix.language == 'cpp'
|
- if: matrix.language == 'cpp'
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/ccache
|
path: ~/.cache/ccache
|
||||||
key: ccache-ubuntu-latest-gcc-codeql-${{ github.sha }}
|
key: ccache-ubuntu-latest-gcc-codeql-${{ github.sha }}
|
||||||
@@ -69,6 +69,6 @@ jobs:
|
|||||||
run: ccache -s
|
run: ccache -s
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v3
|
||||||
with:
|
with:
|
||||||
category: "/language:${{matrix.language}}"
|
category: "/language:${{matrix.language}}"
|
||||||
|
|||||||
@@ -57,8 +57,8 @@ jobs:
|
|||||||
CC: ${{ matrix.compiler || 'gcc' }}
|
CC: ${{ matrix.compiler || 'gcc' }}
|
||||||
TEST: ${{ matrix.test }}
|
TEST: ${{ matrix.test }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/ccache
|
path: ~/.cache/ccache
|
||||||
# with regards to ccache, monolithic builds don't differ from regular
|
# with regards to ccache, monolithic builds don't differ from regular
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
- if: ${{ success() && matrix.test == 'coverage' }}
|
- if: ${{ success() && matrix.test == 'coverage' }}
|
||||||
run: bash <(curl -s https://codecov.io/bash)
|
run: bash <(curl -s https://codecov.io/bash)
|
||||||
- if: ${{ failure() }}
|
- if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Logs ${{ github.job }}
|
name: Logs ${{ github.job }}
|
||||||
path: config.log
|
path: config.log
|
||||||
@@ -106,8 +106,8 @@ jobs:
|
|||||||
CC: ${{ matrix.compiler || 'gcc' }}
|
CC: ${{ matrix.compiler || 'gcc' }}
|
||||||
TEST: ${{ matrix.test }}
|
TEST: ${{ matrix.test }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
# path is different on newer systems
|
# path is different on newer systems
|
||||||
path: |
|
path: |
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/default
|
- uses: ./.github/actions/default
|
||||||
- run: ccache -s
|
- run: ccache -s
|
||||||
- if: ${{ failure() }}
|
- if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Logs ${{ github.job }}
|
name: Logs ${{ github.job }}
|
||||||
path: config.log
|
path: config.log
|
||||||
@@ -151,8 +151,8 @@ jobs:
|
|||||||
# LSan causes spurious SIGSEGV after tests due to DTLS handling by glibc
|
# LSan causes spurious SIGSEGV after tests due to DTLS handling by glibc
|
||||||
ASAN_OPTIONS: intercept_tls_get_addr=0
|
ASAN_OPTIONS: intercept_tls_get_addr=0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ccache-${{ matrix.os }}-${{ env.CC }}-${{ matrix.test }}-${{ github.sha }}
|
key: ccache-${{ matrix.os }}-${{ env.CC }}-${{ matrix.test }}-${{ github.sha }}
|
||||||
@@ -166,7 +166,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/default
|
- uses: ./.github/actions/default
|
||||||
- run: ccache -s
|
- run: ccache -s
|
||||||
- if: ${{ failure() }}
|
- if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Logs ${{ github.job }}
|
name: Logs ${{ github.job }}
|
||||||
path: config.log
|
path: config.log
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TEST: macos
|
TEST: macos
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/Library/Caches/ccache
|
path: ~/Library/Caches/ccache
|
||||||
key: ccache-${{ runner.os }}-${{ github.sha }}
|
key: ccache-${{ runner.os }}-${{ github.sha }}
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/default
|
- uses: ./.github/actions/default
|
||||||
- run: ccache -s
|
- run: ccache -s
|
||||||
- if: ${{ failure() }}
|
- if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Logs ${{ github.job }}
|
name: Logs ${{ github.job }}
|
||||||
path: config.log
|
path: config.log
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TEST: sonarcloud
|
TEST: sonarcloud
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache/ccache
|
~/.cache/ccache
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TEST: tkm
|
TEST: tkm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ env.CCACHE_DIR }}
|
path: ${{ env.CCACHE_DIR }}
|
||||||
key: ccache-tkm-${{ github.sha }}
|
key: ccache-tkm-${{ github.sha }}
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ jobs:
|
|||||||
OS_NAME: linux
|
OS_NAME: linux
|
||||||
TEST: ${{ matrix.test }}
|
TEST: ${{ matrix.test }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/ccache
|
path: ~/.cache/ccache
|
||||||
key: ccache-${{ runner.os }}-${{ matrix.test }}-${{ github.sha }}
|
key: ccache-${{ runner.os }}-${{ matrix.test }}-${{ github.sha }}
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/default
|
- uses: ./.github/actions/default
|
||||||
- run: ccache -s
|
- run: ccache -s
|
||||||
- if: ${{ failure() }}
|
- if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Logs ${{ github.job }}
|
name: Logs ${{ github.job }}
|
||||||
path: config.log
|
path: config.log
|
||||||
|
|||||||
Reference in New Issue
Block a user