From: Tobias Brunner Date: Wed, 28 Feb 2024 14:21:29 +0000 (+0100) Subject: github: Update GitHub-provided actions for Node.js update X-Git-Tag: 5.9.14dr2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d1f325a77d54d5d931aedb640a9bb87325030a8;p=thirdparty%2Fstrongswan.git github: Update GitHub-provided actions for Node.js update --- diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index f70454cad9..eb2bc435c0 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -29,7 +29,7 @@ jobs: # since the NDK might be newly installed, we have to use this to avoid cache misses CCACHE_COMPILERCHECK: content 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 - name: Install NDK id: ndk-install @@ -38,7 +38,7 @@ jobs: echo Using 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" - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-android-${{ github.sha }} @@ -58,7 +58,7 @@ jobs: env: ANDROID_NDK_ROOT: ${{ steps.ndk-install.outputs.ANDROID_NDK_ROOT }} - run: ccache -s - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Lint Results path: src/frontends/android/app/build/reports/lint-results*.xml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index edf715e5af..14d3431f94 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -34,20 +34,20 @@ jobs: matrix: language: [ 'cpp', 'python', 'ruby' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} config-file: ./.github/codeql/config.yml - if: matrix.language == 'python' || matrix.language == 'ruby' name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # this follows the steps of the Linux workflow - if: matrix.language == 'cpp' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-ubuntu-latest-gcc-codeql-${{ github.sha }} @@ -69,6 +69,6 @@ jobs: run: ccache -s - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6774da51ff..a786a25315 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -57,8 +57,8 @@ jobs: CC: ${{ matrix.compiler || 'gcc' }} TEST: ${{ matrix.test }} steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.cache/ccache # with regards to ccache, monolithic builds don't differ from regular @@ -78,7 +78,7 @@ jobs: - if: ${{ success() && matrix.test == 'coverage' }} run: bash <(curl -s https://codecov.io/bash) - if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Logs ${{ github.job }} path: config.log @@ -106,8 +106,8 @@ jobs: CC: ${{ matrix.compiler || 'gcc' }} TEST: ${{ matrix.test }} steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: # path is different on newer systems path: | @@ -126,7 +126,7 @@ jobs: - uses: ./.github/actions/default - run: ccache -s - if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Logs ${{ github.job }} path: config.log @@ -151,8 +151,8 @@ jobs: # LSan causes spurious SIGSEGV after tests due to DTLS handling by glibc ASAN_OPTIONS: intercept_tls_get_addr=0 steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.ccache key: ccache-${{ matrix.os }}-${{ env.CC }}-${{ matrix.test }}-${{ github.sha }} @@ -166,7 +166,7 @@ jobs: - uses: ./.github/actions/default - run: ccache -s - if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Logs ${{ github.job }} path: config.log diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index dd27fa3ccb..d115d55717 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -31,8 +31,8 @@ jobs: env: TEST: macos steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/Library/Caches/ccache key: ccache-${{ runner.os }}-${{ github.sha }} @@ -47,7 +47,7 @@ jobs: - uses: ./.github/actions/default - run: ccache -s - if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Logs ${{ github.job }} path: config.log diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 54b279f824..45e2709ccb 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -26,10 +26,10 @@ jobs: env: TEST: sonarcloud steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache/ccache diff --git a/.github/workflows/tkm.yml b/.github/workflows/tkm.yml index d58ddae91c..4c49d3eedb 100644 --- a/.github/workflows/tkm.yml +++ b/.github/workflows/tkm.yml @@ -27,8 +27,8 @@ jobs: env: TEST: tkm steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-tkm-${{ github.sha }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 95f4f07c52..03af97aa1b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -34,8 +34,8 @@ jobs: OS_NAME: linux TEST: ${{ matrix.test }} steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ runner.os }}-${{ matrix.test }}-${{ github.sha }} @@ -48,7 +48,7 @@ jobs: - uses: ./.github/actions/default - run: ccache -s - if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Logs ${{ github.job }} path: config.log