]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Update GitHub-provided actions for Node.js update
authorTobias Brunner <tobias@strongswan.org>
Wed, 28 Feb 2024 14:21:29 +0000 (15:21 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 29 Feb 2024 08:06:59 +0000 (09:06 +0100)
.github/workflows/android.yml
.github/workflows/codeql.yml
.github/workflows/linux.yml
.github/workflows/macos.yml
.github/workflows/sonarcloud.yml
.github/workflows/tkm.yml
.github/workflows/windows.yml

index f70454cad9a889c9b04b2e45cea2a1c392772d74..eb2bc435c0dd6a70c22aa4bf8cee6ebf43c91829 100644 (file)
@@ -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
index edf715e5af8b49aa32c2cda0f79d77c975b49caf..14d3431f94cafecc406278ceba053b23cea18cbc 100644 (file)
@@ -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}}"
index 6774da51ff902854fd2e163c998d7e066583a619..a786a25315648d9b722f43ff33143d441a4f64f3 100644 (file)
@@ -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
index dd27fa3ccbbf456ccc925b4abcfef78b1d663e18..d115d55717ec253083171e6887427235f7a04557 100644 (file)
@@ -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
index 54b279f82408130279b63202691c75b03ed483ed..45e2709ccb3e38b8847eb1024322578113d719e1 100644 (file)
@@ -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
index d58ddae91c356f0f097df81d7d917e4d031adaf5..4c49d3eedb4be8f0d6dc2afc0b461f3eb2b1f8c1 100644 (file)
@@ -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 }}
index 95f4f07c521dc8e41730ea9b7eec4ffbcb82fc6f..03af97aa1b04ad697e9a99dcd63214084dde1194 100644 (file)
@@ -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