From patchwork Wed Aug 17 03:23:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Rothenpieler X-Patchwork-Id: 2684 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director11.mail.ord1d.rsapps.net ([172.27.255.58]) by backend30.mail.ord1d.rsapps.net with LMTP id iEZ9CU8l/mKlMgAAIUCqbw (envelope-from ) for ; Thu, 18 Aug 2022 07:41:03 -0400 Received: from proxy9.mail.iad3a.rsapps.net ([172.27.255.58]) by director11.mail.ord1d.rsapps.net with LMTP id UI47CU8l/mK+VQAAvGGmqA (envelope-from ) for ; Thu, 18 Aug 2022 07:41:03 -0400 Received: from smtp38.gate.iad3a ([172.27.255.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy9.mail.iad3a.rsapps.net with LMTPS id qGquAk8l/mLyCgAAGuSQww (envelope-from ) for ; Thu, 18 Aug 2022 07:41:03 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: patchwork@openvpn.net X-Originating-Ip: [192.26.174.232] Authentication-Results: smtp38.gate.iad3a.rsapps.net; iprev=pass policy.iprev="192.26.174.232"; spf=pass smtp.mailfrom="arne@rfc2549.org" smtp.helo="mail.blinkt.de"; dkim=none (message not signed) header.d=none; dmarc=fail (p=none; dis=none) header.from=rothenpieler.org X-Suspicious-Flag: NO X-Classification-ID: a1c71fe8-1eea-11ed-96bb-525400000c92-1-1 Received: from [192.26.174.232] ([192.26.174.232:47982] helo=mail.blinkt.de) by smtp38.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 7A/F7-10955-D452EF26; Thu, 18 Aug 2022 07:41:01 -0400 Received: from [195.70.183.100] (helo=[192.168.12.111]) by mail.blinkt.de with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1oOdtT-0000SE-W6 for patchwork@openvpn.net; Thu, 18 Aug 2022 13:41:00 +0200 Resent-From: Arne Schwabe Resent-To: patchwork@openvpn.net Resent-Date: Thu, 18 Aug 2022 13:40:58 +0200 Resent-Message-ID: <798d77ad-e270-dfa1-95d3-ed4cab1e4af7@rfc2549.org> Received: from mail.blinkt.de ([unix socket]) by mail.blinkt.de (Cyrus 3.4.4) with LMTPA; Wed, 17 Aug 2022 15:24:12 +0200 X-Cyrus-Session-Id: mail.blinkt.de-1660742652-77938-2-7367008712216079273 X-Sieve: CMU Sieve 3.0 Received: from lists.sourceforge.net ([216.105.38.7]) by mail.blinkt.de with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1oOJ1n-000KH1-AN for arne@rfc2549.org; Wed, 17 Aug 2022 15:24:12 +0200 Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1oOJ0v-0003xa-1u; Wed, 17 Aug 2022 13:23:17 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oOJ0u-0003xU-33 for openvpn-devel@lists.sourceforge.net; Wed, 17 Aug 2022 13:23:16 +0000 Received: from btbn.de ([136.243.74.85]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1oOJ0s-0002iF-2v for openvpn-devel@lists.sourceforge.net; Wed, 17 Aug 2022 13:23:16 +0000 Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id C86932D8145; Wed, 17 Aug 2022 15:23:07 +0200 (CEST) From: Timo Rothenpieler To: openvpn-devel@lists.sourceforge.net Date: Wed, 17 Aug 2022 15:23:02 +0200 Message-Id: <20220817132302.538-1-timo@rothenpieler.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220817130955.450-1-timo@rothenpieler.org> References: <20220817130955.450-1-timo@rothenpieler.org> MIME-Version: 1.0 X-Headers-End: 1oOJ0s-0002iF-2v Subject: [Openvpn-devel] [PATCH v2] Github Actions: update used actions X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-Spam-Bar: + X-getmail-retrieved-from-mailbox: Inbox In the case of the Microsoft action, this fixes security relevant issues according to their release notes: https://github.com/microsoft/setup-msbuild/releases Unfortunately they don't appear to be following the usual scheme of v1 referring to all v1.x.x, but instead v1 just points to v1.0.0. The primary change with all the Github-Provided actions is the switch to a more up-to-date NodeJS version (16). Not all that relevant when you just use the action as is, but on top of that, the old versions are in low-maintenance mode, and basically are considered obsolete. Github is actively migrating people to the latest ones via dependabot wherever they can. Acked-By: Arne Schwabe --- .github/workflows/build.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c89d3c8c..49b7d6d1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ jobs: - name: Install dependencies run: sudo apt update && sudo apt install -y uncrustify - name: Checkout OpenVPN - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: openvpn - name: Show uncrustify version @@ -27,7 +27,7 @@ jobs: - name: Show changes on standard output run: git diff working-directory: openvpn - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: uncrustify-changes.patch path: 'openvpn/uncrustify-changes.patch' @@ -60,12 +60,12 @@ jobs: - name: Install dependencies run: sudo apt update && sudo apt install -y mingw-w64 libtool automake autoconf man2html unzip - name: Checkout ovpn-dco-win - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: OpenVPN/ovpn-dco-win path: ovpn-dco-win - name: Checkout OpenVPN - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: openvpn @@ -75,7 +75,7 @@ jobs: - name: Cache dependencies id: cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '~/mingw/' key: ${{ matrix.target }}-mingw-${{ env.OPENSSL_VERSION }}-${{ env.LZO_VERSION }}-${{ env.PKCS11_HELPER_VERSION }}-${{ env.TAP_WINDOWS_VERSION }} @@ -226,7 +226,7 @@ jobs: - name: Install dependencies run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${NLPKG} - name: Checkout OpenVPN - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: autoconf run: autoreconf -fvi - name: configure @@ -250,7 +250,7 @@ jobs: - name: Install dependencies run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev - name: Checkout OpenVPN - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: autoconf run: autoreconf -fvi - name: configure @@ -288,7 +288,7 @@ jobs: - name: Install dependencies run: brew install openssl@1.1 openssl@3 lzo lz4 man2html cmocka libtool automake autoconf - name: Checkout OpenVPN - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: autoconf run: autoreconf -fvi - name: configure @@ -319,13 +319,13 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1 + uses: microsoft/setup-msbuild@v1.1 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.x' @@ -345,7 +345,7 @@ jobs: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform="${{ matrix.plat }}" . - name: Archive artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: artifacts-${{ matrix.plat }} path: |