]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ci: update github actions
authorFrazer Smith <frazer.dev@outlook.com>
Sat, 14 May 2022 21:37:59 +0000 (23:37 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 14 May 2022 21:37:59 +0000 (23:37 +0200)
- 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

14 files changed:
.github/workflows/bearssl.yml
.github/workflows/codeql-analysis.yml
.github/workflows/event-based.yml
.github/workflows/fuzz.yml
.github/workflows/hacktoberfest-accepted.yml
.github/workflows/linkcheck.yml
.github/workflows/linux-hyper.yml
.github/workflows/macos.yml
.github/workflows/mbedtls.yml
.github/workflows/msh3.yml
.github/workflows/nss.yml
.github/workflows/openssl3.yml
.github/workflows/rustls.yml
.github/workflows/wolfssl.yml

index f9b8119a1b673e9f6c2f7e4e7659b5514fd97234..2b160b79f98ceb2eb5f684447aaf51223c0ee328 100644 (file)
@@ -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'
index 5f8b86f26b20b8c12e172b1f796484c9a40091d9..6bc5405fe693eb440f4682e8040cd92ef57581f4 100644 (file)
@@ -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
index 893c5a0f3e360834478b2fd94bea52dd3956617a..7dbf7d1feb870fc20bdee414397cd1d4462adfb9 100644 (file)
@@ -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'
index fe5dd075d626026a01991849e125fcde6d9e7d3b..6bfc55ae5ba8eae72e428f82732523ec7cc754ac 100644 (file)
@@ -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
index b9d4e155c20c2e4d3e8d53632d9881e0995130b5..cc18e2603af82ffd846c7f1d845ed5a4d1b35e00 100644 (file)
@@ -17,7 +17,7 @@ jobs:
   merged:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           fetch-depth: 100
 
index b37cd810605f3d7a96b2d986a83489b3af23469a..a625c4c4206c5d2032c32e63fe329a0ee4afdef4 100644 (file)
@@ -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'
index 4125378076b2519e53f058a441fc8bd749a28ea0..eaeb773442af9411165056dcb1487d95457625bf 100644 (file)
@@ -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'
index ae7748f9a59bb27d77c83c0f5542a89412cdd4d2..b9d35324d96f03628af2b78149aa63642a870241 100644 (file)
@@ -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'
index 915b8be42f9e8d6ab37718dda6f581538054a391..cb8afedfd6c7f27e2373bd658d18949bc24601f6 100644 (file)
@@ -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'
index 210f22d137b8ddb496137c784e1034d9676966c4..004c98dc813d52776bd57606cda8745be63ecb75 100644 (file)
@@ -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'
index 77dafcc90cb5434d63d04cf627845e49093af425..998eb42bf95bacc8690a633ec7f5b18c81a25fe6 100644 (file)
@@ -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'
index d4601f6a4106d07a1f1273a33951f8b390e59923..2c05c39f50f8868b3fbd9464b96f4cd02088057e 100644 (file)
@@ -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'
index 3e31d4c0df26283822ad7a40dcdf6e796deff18b..8e3784b7d412d211ee50299b98a103be2578130d 100644 (file)
@@ -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'
index 2bf3dc6de8bee98cabea00b80566a326b06569bb..440874ea112c26703215001b36edc46f686cd5f1 100644 (file)
@@ -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'