Bläddra i källkod

gha: bump actions to latest versions

- actions@checkout@v4 (from v3 and v2)

- fsfe/reuse-action@v2 (from v1)

Closes #12000
Viktor Szakats 8 månader sedan
förälder
incheckning
c39585d9b7

+ 2 - 2
.github/workflows/awslc.yml

@@ -80,7 +80,7 @@ jobs:
         cmake --build . --parallel
         cmake --install .
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: autoreconf -fi
       name: 'autoreconf'
@@ -139,7 +139,7 @@ jobs:
         cmake --build . --parallel
         cmake --install .
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     # CMAKE_COMPILE_WARNING_AS_ERROR is available in cmake 3.24 or later
     - run: cmake -Bbuild -DOPENSSL_ROOT_DIR=$HOME/awslc -DBUILD_SHARED_LIBS=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON .

+ 1 - 1
.github/workflows/codeql-analysis.yml

@@ -51,7 +51,7 @@ jobs:
       security-events: write
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL

+ 1 - 1
.github/workflows/hacktoberfest-accepted.yml

@@ -26,7 +26,7 @@ jobs:
       issues: write
       pull-requests: write
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
           fetch-depth: 100
 

+ 1 - 1
.github/workflows/linkcheck.yml

@@ -30,7 +30,7 @@ jobs:
   check:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - uses: gaurav-nelson/github-action-markdown-link-check@v1
       with:
         use-quiet-mode: 'yes'

+ 1 - 1
.github/workflows/linux.yml

@@ -195,7 +195,7 @@ jobs:
         apk add --no-cache build-base autoconf automake libtool perl openssl-dev libssh2-dev zlib-dev brotli-dev zstd-dev libidn2-dev openldap-dev heimdal-dev libpsl-dev py3-impacket py3-asn1 py3-six py3-pycryptodomex perl-time-hires openssh stunnel sudo git
       name: 'install dependencies'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - if: contains(matrix.build.install_steps, 'gcc-11')
       run: |

+ 1 - 1
.github/workflows/linux32.yml

@@ -67,7 +67,7 @@ jobs:
         sudo python3 -m pip install impacket
       name: 'install prereqs'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: autoreconf -fi
       name: 'autoreconf'

+ 2 - 2
.github/workflows/macos.yml

@@ -164,7 +164,7 @@ jobs:
     - run: python3 -m pip install impacket
       name: 'pip3 install'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: autoreconf -fi
       name: 'autoreconf'
@@ -233,7 +233,7 @@ jobs:
         esac
       name: 'brew unlink openssl'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: cmake -S. -Bbuild -DCURL_WERROR=ON -DPICKY_COMPILER=ON ${{ matrix.build.generate }}
       name: 'cmake generate'

+ 1 - 1
.github/workflows/ngtcp2-linux.yml

@@ -237,7 +237,7 @@ jobs:
         sudo make install
       name: 'install mod_h2'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: |
         sudo python3 -m pip install -r tests/requirements.txt -r tests/http/requirements.txt

+ 1 - 1
.github/workflows/proselint.yml

@@ -29,7 +29,7 @@ jobs:
   check:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v4
 
     - name: install prereqs
       run: sudo apt-get install python3-proselint

+ 1 - 1
.github/workflows/quiche-linux.yml

@@ -177,7 +177,7 @@ jobs:
         sudo make install
       name: 'install mod_h2'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: |
         sudo python3 -m pip install -r tests/requirements.txt -r tests/http/requirements.txt

+ 2 - 2
.github/workflows/reuse.yml

@@ -24,6 +24,6 @@ jobs:
   check:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - name: REUSE Compliance Check
-      uses: fsfe/reuse-action@v1
+      uses: fsfe/reuse-action@v2

+ 1 - 1
.github/workflows/spellcheck.yml

@@ -31,7 +31,7 @@ jobs:
   check:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - name: install pandoc
       run: sudo apt-get install pandoc

+ 1 - 1
.github/workflows/torture.yml

@@ -72,7 +72,7 @@ jobs:
         sudo python3 -m pip install impacket
       name: 'install prereqs and impacket'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: autoreconf -fi
       name: 'autoreconf'

+ 1 - 1
.github/workflows/wolfssl.yml

@@ -82,7 +82,7 @@ jobs:
         make install
       name: 'install wolfssl'
 
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - run: autoreconf -fi
       name: 'autoreconf'