diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index e069c9336..0f46ab4a2 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 5 steps: - name: Checkout wolfSSH - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Run codespell uses: codespell-project/actions-codespell@v2 diff --git a/.github/workflows/coverity-scan-fixes.yml b/.github/workflows/coverity-scan-fixes.yml index b1bae35a4..44023bbd0 100644 --- a/.github/workflows/coverity-scan-fixes.yml +++ b/.github/workflows/coverity-scan-fixes.yml @@ -12,7 +12,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfSSL - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir @@ -36,12 +36,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checking out wolfSSH - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: master - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir key: wolfssh-coverity-wolfssl diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 25120a414..7d03d256b 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -12,7 +12,7 @@ jobs: name: Cppcheck runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install cppcheck if: always() @@ -39,7 +39,7 @@ jobs: - name: Upload cppcheck results as artifact if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wolfssh-${{ github.sha }}-cppcheck_results.txt path: cppcheck.txt diff --git a/.github/workflows/interop-mlkem.yml b/.github/workflows/interop-mlkem.yml index 045a53927..cdc023210 100644 --- a/.github/workflows/interop-mlkem.yml +++ b/.github/workflows/interop-mlkem.yml @@ -22,7 +22,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfSSL - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -46,7 +46,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for OpenSSH - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-openssh with: path: build-dir/ @@ -81,14 +81,14 @@ jobs: build_dir: ${{ github.workspace }}/build-dir steps: - name: Checking cache for wolfSSL - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-mlkem-wolfssl-${{ matrix.wolfssl }} fail-on-cache-miss: true - name: Checking cache for OpenSSH - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-mlkem-openssh-${{ env.openssh }} diff --git a/.github/workflows/kyber.yml b/.github/workflows/kyber.yml index 0167c558e..9e16fe61f 100644 --- a/.github/workflows/kyber.yml +++ b/.github/workflows/kyber.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for liboqs - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-liboqs with: path: build-dir/ @@ -28,7 +28,7 @@ jobs: - name: Checkout liboqs if: steps.cache-liboqs.outputs.cache-hit != 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: open-quantum-safe/liboqs ref: ${{ env.LIBOQS_REF }} @@ -50,7 +50,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -75,14 +75,14 @@ jobs: needs: [build_wolfssl, build_liboqs] steps: - name: Checking cache for liboqs - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-mlkem-liboqs-${{ env.LIBOQS_REF }}-${{ env.OS_REF }} fail-on-cache-miss: true - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-mlkem-wolfssl-${{ env.WOLFSSL_REF }}-${{ env.OS_REF }} diff --git a/.github/workflows/multi-compiler.yml b/.github/workflows/multi-compiler.yml index 28790c457..2305c0c89 100644 --- a/.github/workflows/multi-compiler.yml +++ b/.github/workflows/multi-compiler.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 5 steps: - name: Checkout wolfSSL - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: wolfssl/wolfssl path: wolfssl @@ -35,7 +35,7 @@ jobs: run: tar -zcf wolfssl-install.tgz /usr/local/lib/libwolfssl* /usr/local/include/wolfssl - name: Upload built lib - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wolfssl-multi-compiler path: wolfssl-install.tgz @@ -70,10 +70,10 @@ jobs: sudo apt-get install -y ${{ matrix.cc }} - name: Checkout wolfSSH - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download wolfSSL - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: wolfssl-multi-compiler diff --git a/.github/workflows/network-contention-test.yml b/.github/workflows/network-contention-test.yml index f5c45e3f7..b8ee8db59 100644 --- a/.github/workflows/network-contention-test.yml +++ b/.github/workflows/network-contention-test.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -71,13 +71,13 @@ jobs: timeout-minutes: 15 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-contention-wolfssl-${{ matrix.wolfssl }}-${{ matrix.os }} fail-on-cache-miss: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh/ diff --git a/.github/workflows/os-check.yml b/.github/workflows/os-check.yml index 846ecfda9..04dca0e77 100644 --- a/.github/workflows/os-check.yml +++ b/.github/workflows/os-check.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -81,7 +81,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-os-check-wolfssl-${{ matrix.wolfssl }}-${{ matrix.os }} diff --git a/.github/workflows/paramiko-sftp-test.yml b/.github/workflows/paramiko-sftp-test.yml index d33ed8a8f..d356d5eaa 100644 --- a/.github/workflows/paramiko-sftp-test.yml +++ b/.github/workflows/paramiko-sftp-test.yml @@ -18,7 +18,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -43,13 +43,13 @@ jobs: timeout-minutes: 10 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-paramiko-sftp-wolfssl-ubuntu-latest fail-on-cache-miss: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh/ diff --git a/.github/workflows/sanitizer.yml b/.github/workflows/sanitizer.yml index 45f7094d4..158c18326 100644 --- a/.github/workflows/sanitizer.yml +++ b/.github/workflows/sanitizer.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 5 steps: - name: Checkout wolfSSL - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: wolfssl/wolfssl path: wolfssl @@ -35,7 +35,7 @@ jobs: run: tar -zcf wolfssl-install.tgz /usr/local/lib/libwolfssl* /usr/local/include/wolfssl - name: Upload built lib - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wolfssl-sanitizer path: wolfssl-install.tgz @@ -62,10 +62,10 @@ jobs: run: sudo sysctl vm.mmap_rnd_bits=28 - name: Checkout wolfSSH - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download wolfSSL - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: wolfssl-sanitizer @@ -95,7 +95,7 @@ jobs: - name: Upload failure logs if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wolfssh-${{ matrix.name }}-logs path: | diff --git a/.github/workflows/scp-test.yml b/.github/workflows/scp-test.yml index 322587d06..89a57745a 100644 --- a/.github/workflows/scp-test.yml +++ b/.github/workflows/scp-test.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -70,13 +70,13 @@ jobs: timeout-minutes: 10 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-sshd-wolfssl-${{ matrix.wolfssl }}-${{ matrix.os }} fail-on-cache-miss: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh/ diff --git a/.github/workflows/sftp-test.yml b/.github/workflows/sftp-test.yml index 429d47ad6..28cef71cd 100644 --- a/.github/workflows/sftp-test.yml +++ b/.github/workflows/sftp-test.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -70,13 +70,13 @@ jobs: timeout-minutes: 10 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-sftp-wolfssl-${{ matrix.wolfssl }}-${{ matrix.os }}-keygen fail-on-cache-miss: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh/ @@ -154,13 +154,13 @@ jobs: timeout-minutes: 20 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-sftp-wolfssl-${{ matrix.wolfssl }}-${{ matrix.os }}-keygen fail-on-cache-miss: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh/ diff --git a/.github/workflows/singlethread-check.yml b/.github/workflows/singlethread-check.yml index 45f1a95db..315257c54 100644 --- a/.github/workflows/singlethread-check.yml +++ b/.github/workflows/singlethread-check.yml @@ -25,7 +25,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -61,7 +61,7 @@ jobs: needs: build_wolfssl steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-singlethread-check-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }} diff --git a/.github/workflows/sshd-test.yml b/.github/workflows/sshd-test.yml index 9314e37b2..45ccd992d 100644 --- a/.github/workflows/sshd-test.yml +++ b/.github/workflows/sshd-test.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-wolfssl with: path: build-dir/ @@ -70,13 +70,13 @@ jobs: timeout-minutes: 10 steps: - name: Checking cache for wolfssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build-dir/ key: wolfssh-sshd-wolfssl-${{ matrix.wolfssl }}-${{ matrix.os }} fail-on-cache-miss: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh/ diff --git a/.github/workflows/test-fatfs.yml b/.github/workflows/test-fatfs.yml index 472a9ac6d..e2b729940 100644 --- a/.github/workflows/test-fatfs.yml +++ b/.github/workflows/test-fatfs.yml @@ -14,7 +14,7 @@ jobs: timeout-minutes: 4 steps: - name: Checking cache for FatFS - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-fatfs with: path: ./ff15a.zip @@ -33,10 +33,10 @@ jobs: timeout-minutes: 4 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Checking cache for FATFS - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./ff15a.zip key: ff15a-cache diff --git a/.github/workflows/tpm-ssh.yml b/.github/workflows/tpm-ssh.yml index d3f53c2d8..1ecdf4aae 100644 --- a/.github/workflows/tpm-ssh.yml +++ b/.github/workflows/tpm-ssh.yml @@ -12,19 +12,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh # Clone dependencies - name: Clone wolfSSL - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: wolfSSL/wolfssl path: wolfssl - name: Clone wolfTPM - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: wolfSSL/wolftpm path: wolftpm @@ -132,7 +132,7 @@ jobs: # Archive artifacts for debugging - name: Archive test artifacts if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: test-artifacts path: | diff --git a/.github/workflows/windows-sftp.yml b/.github/workflows/windows-sftp.yml index 90680d6ab..110577135 100644 --- a/.github/workflows/windows-sftp.yml +++ b/.github/workflows/windows-sftp.yml @@ -36,12 +36,12 @@ jobs: artifact_name: wolfssh-windows-build-large-rw steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: repository: wolfssl/wolfssl path: wolfssl - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh @@ -65,7 +65,7 @@ jobs: - name: Upload wolfSSL build artifacts if: matrix.test_type == 'basic' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wolfssl-windows-build path: | @@ -101,7 +101,7 @@ jobs: run: msbuild /m /p:PlatformToolset=v142 /p:Platform=${{env.BUILD_PLATFORM}} /p:WindowsTargetPlatformVersion=${{env.TARGET_PLATFORM}} /p:Configuration=${{env.WOLFSSH_BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} - name: Upload wolfSSH build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ matrix.artifact_name }} if-no-files-found: error @@ -121,18 +121,18 @@ jobs: artifact_name: wolfssh-windows-build-large-rw steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: wolfssh - name: Download wolfSSH build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: ${{ matrix.artifact_name }} path: . - name: Download wolfSSL build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: wolfssl-windows-build path: . diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index a312c1de7..e8ef54f7a 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -88,7 +88,7 @@ jobs: - name: Upload failure logs if: ${{ failure() && steps.wolfssh-test.outcome == 'failure' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: zephyr-client-test-logs path: logs.zip