From: Frazer Smith Date: Sat, 14 May 2022 21:37:59 +0000 (+0200) Subject: ci: update github actions X-Git-Tag: curl-7_84_0~198 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bda0d5fb84286db683c1b50c2c7e74e16b26047d;p=thirdparty%2Fcurl.git ci: update github actions - bump actions/checkout from 2 to 3 - bump actions/upload-artifact from 1 to 3 - bump github/codeql-actions from 1 to 2 - use version tag for actions/checkout Closes #8843 --- diff --git a/.github/workflows/bearssl.yml b/.github/workflows/bearssl.yml index f9b8119a1b..2b160b79f9 100644 --- a/.github/workflows/bearssl.yml +++ b/.github/workflows/bearssl.yml @@ -44,7 +44,7 @@ jobs: name: 'get, build and install bearssl' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/bear/lib" ./configure --enable-warnings --enable-werror --enable-headers-api ${{ matrix.build.configure }} && make V=1 name: 'configure and build' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5f8b86f26b..6bc5405fe6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,11 +21,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: cpp queries: security-extended @@ -33,7 +33,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -47,4 +47,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/event-based.yml b/.github/workflows/event-based.yml index 893c5a0f3e..7dbf7d1feb 100644 --- a/.github/workflows/event-based.yml +++ b/.github/workflows/event-based.yml @@ -31,7 +31,7 @@ jobs: sudo python3 -m pip install impacket name: install prereqs and impacket - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && ./configure ${{ matrix.build.configure }} && make V=1 name: 'configure and build' diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index fe5dd075d6..6bfc55ae5b 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -29,7 +29,7 @@ jobs: dry-run: false - name: Upload Crash - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 if: failure() with: name: artifacts diff --git a/.github/workflows/hacktoberfest-accepted.yml b/.github/workflows/hacktoberfest-accepted.yml index b9d4e155c2..cc18e2603a 100644 --- a/.github/workflows/hacktoberfest-accepted.yml +++ b/.github/workflows/hacktoberfest-accepted.yml @@ -17,7 +17,7 @@ jobs: merged: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 100 diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index b37cd81060..a625c4c420 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -17,7 +17,7 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-quiet-mode: 'yes' diff --git a/.github/workflows/linux-hyper.yml b/.github/workflows/linux-hyper.yml index 4125378076..eaeb773442 100644 --- a/.github/workflows/linux-hyper.yml +++ b/.github/workflows/linux-hyper.yml @@ -41,7 +41,7 @@ jobs: RUSTFLAGS="--cfg hyper_unstable_ffi" cargo +nightly rustc --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib) name: 'install hyper' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1 name: 'configure and build' diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index ae7748f9a5..b9d35324d9 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -87,7 +87,7 @@ jobs: - run: python3 -m pip install impacket name: 'pip3 install' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && ./configure --enable-warnings --enable-werror --enable-headers-api ${{ matrix.build.configure }} name: 'configure and build' @@ -137,7 +137,7 @@ jobs: - run: python3 -m pip install impacket name: 'pip3 install' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: cmake -H. -Bbuild -DCURL_WERROR=ON -DPICKY_COMPILER=ON ${{ matrix.build.generate }} name: 'cmake generate' diff --git a/.github/workflows/mbedtls.yml b/.github/workflows/mbedtls.yml index 915b8be42f..cb8afedfd6 100644 --- a/.github/workflows/mbedtls.yml +++ b/.github/workflows/mbedtls.yml @@ -40,7 +40,7 @@ jobs: make DESTDIR=$HOME/mbed install name: 'install mbedtls' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" ./configure --enable-warnings --enable-werror --enable-headers-api ${{ matrix.build.configure }} && make V=1 name: 'configure and build' diff --git a/.github/workflows/msh3.yml b/.github/workflows/msh3.yml index 210f22d137..004c98dc81 100644 --- a/.github/workflows/msh3.yml +++ b/.github/workflows/msh3.yml @@ -46,7 +46,7 @@ jobs: cmake --install . name: 'build and install msh3' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/msh3/lib -Wl,-rpath,$HOME/quictls/lib" ./configure --enable-warnings --enable-werror --enable-headers-api ${{ matrix.build.configure }} && make V=1 name: 'configure and build curl' diff --git a/.github/workflows/nss.yml b/.github/workflows/nss.yml index 77dafcc90c..998eb42bf9 100644 --- a/.github/workflows/nss.yml +++ b/.github/workflows/nss.yml @@ -31,7 +31,7 @@ jobs: sudo python3 -m pip install impacket name: install prereqs and impacket - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi name: 'autoreconf' diff --git a/.github/workflows/openssl3.yml b/.github/workflows/openssl3.yml index d4601f6a41..2c05c39f50 100644 --- a/.github/workflows/openssl3.yml +++ b/.github/workflows/openssl3.yml @@ -40,7 +40,7 @@ jobs: make && make install_sw name: 'build and install openssl3' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" ./configure --enable-warnings --enable-werror --enable-headers-api ${{ matrix.build.configure }} && make V=1 name: 'configure and build' diff --git a/.github/workflows/rustls.yml b/.github/workflows/rustls.yml index 3e31d4c0df..8e3784b7d4 100644 --- a/.github/workflows/rustls.yml +++ b/.github/workflows/rustls.yml @@ -39,7 +39,7 @@ jobs: make DESTDIR=$HOME/rustls install name: 'install rustls' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1 name: 'configure and build' diff --git a/.github/workflows/wolfssl.yml b/.github/workflows/wolfssl.yml index 2bf3dc6de8..440874ea11 100644 --- a/.github/workflows/wolfssl.yml +++ b/.github/workflows/wolfssl.yml @@ -44,7 +44,7 @@ jobs: make && make install name: 'install wolfssl' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/wssl/lib" ./configure --enable-warnings --enable-werror --enable-headers-api ${{ matrix.build.curl-configure }} && make V=1 name: 'configure and build'