]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Move to node16 version of github actions
authorNick Porter <nick@portercomputing.co.uk>
Fri, 21 Oct 2022 20:07:42 +0000 (21:07 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 21 Oct 2022 21:11:14 +0000 (22:11 +0100)
.github/actions/build-freeradius/action.yml
.github/actions/fuzzer/action.yml
.github/workflows/ci-deb.yml
.github/workflows/ci-freebsd.yml
.github/workflows/ci-macos.yml
.github/workflows/ci-rpm.yml
.github/workflows/ci-scheduled-fuzzing.yml
.github/workflows/ci.yml
.github/workflows/coverity.yml
.github/workflows/documentation.yml

index afd13921ef8cacc1f375018f7100cdecec73bd35..412a31aadbe4aa140118f49e2ee082065e5efbc7 100644 (file)
@@ -23,7 +23,7 @@ runs:
         git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
 
     - name: Restore LFS cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: lfs-cache
       with:
         path: .git/lfs
@@ -36,7 +36,7 @@ runs:
         git lfs pull
 
     - name: Restore eapol_test build directory from cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: hostapd-cache
       with:
         path: ${{ env.HOSTAPD_BUILD_DIR }}
@@ -178,7 +178,7 @@ runs:
 
     - name: 'Restore OpenSSL 3.0 from the cache'
       if: ${{ matrix.env.LIBS_ALT == 'yes' }}
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: openssl-cache
       with:
         path: /opt/openssl/
@@ -270,7 +270,7 @@ runs:
         make -j `nproc` scan && [ "$(find build/plist/ -name *.html)" = '' ];
 
     - name: "Clang Static Analyzer: Store assets on failure"
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: clang-scan.tgz
         path: build/plist/**/*.html
index 71c985f88808b5c21572ccecbd132ca5a2fe86dc..127f5e2e2bd671ac9b065a683c3cc3fc6a4928e3 100644 (file)
@@ -18,7 +18,7 @@ runs:
         find build/fuzzer -type f ! -path 'build/fuzzer/*.log' | grep . && exit 1 || :
 
     - name: "Clang libFuzzer: Store assets on failure"
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: clang-fuzzer
         path: build/fuzzer
index 9022b3d04d69da965505cf6e6da2f1774c1b1fb6..6d9740cbd0f2bf51754f6ec49fcd4be5475aff06 100644 (file)
@@ -117,7 +117,7 @@ jobs:
     - name: Update apt repository lists
       run: apt-get update
 
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         path: freeradius
 
@@ -139,7 +139,7 @@ jobs:
         mv *.deb debs
 
     - name: Restore eapol_test build directory from cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: hostapd-cache
       with:
         path: ${{ env.HOSTAPD_BUILD_DIR }}
@@ -154,7 +154,7 @@ jobs:
       working-directory: freeradius
 
     - name: Store DEBs
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: debs-${{ matrix.env.NAME }}
         path: debs
@@ -202,7 +202,7 @@ jobs:
     steps:
 
     - name: Load DEBs
-      uses: actions/download-artifact@v2
+      uses: actions/download-artifact@v3
       with:
         name: debs-${{ matrix.env.NAME }}
 
@@ -256,7 +256,7 @@ jobs:
         mv eapol_test /usr/local/bin
         chmod +x /usr/local/bin/eapol_test
 
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         path: freeradius
 
@@ -271,7 +271,7 @@ jobs:
 
     - name: Upload radius logs on failure
       if: ${{ failure() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: radius-logs-${{ matrix.env.NAME }}
         path: |
index bd8f194f17915f84d62e49c7052dae7fef9ce15f..b439fe21605a36b35475528cb3557ef916991c29 100644 (file)
@@ -22,7 +22,7 @@ jobs:
     steps:
 
     # Checkout, but defer pulling LFS objects until we've restored the cache
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         lfs: false
         path: freeradius
@@ -32,7 +32,7 @@ jobs:
       working-directory: freeradius
 
     - name: Restore LFS cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: lfs-cache
       with:
         path: .git/lfs
@@ -44,7 +44,7 @@ jobs:
       working-directory: freeradius
 
     - name: Restore eapol_test build directory from cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: hostapd-cache
       with:
         path: ${{ env.HOSTAPD_BUILD_DIR }}
index 990b16e7ed049e6c381fa7359e8589fdb128ad0f..c71a1b9fdfa4df571221484343a213e79a551cb7 100644 (file)
@@ -60,7 +60,7 @@ jobs:
     steps:
 
     # Checkout, but defer pulling LFS objects until we've restored the cache
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         lfs: false
 
@@ -68,7 +68,7 @@ jobs:
       run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
 
     - name: Restore LFS cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: lfs-cache
       with:
         path: .git/lfs
@@ -79,7 +79,7 @@ jobs:
       run: git lfs pull
 
     - name: Restore eapol_test build directory from cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: hostapd-cache
       with:
         path: ${{ env.HOSTAPD_BUILD_DIR }}
@@ -137,7 +137,7 @@ jobs:
 
     - name: 'Restore OpenSSL 3.0 from the cache'
       if: ${{ matrix.env.LIBS_ALT == 'yes' }}
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: openssl-cache
       with:
         path: /opt/openssl/
@@ -213,7 +213,7 @@ jobs:
         make -j `nproc`
 
     - name: "Clang Static Analyzer: Store assets on failure"
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: clang-scan.tgz
         path: build/plist/**/*.html
index aea792043876a94ce5303b9992cf9aac1c068a3d..18158f06f0d5afc69fa4cb1a229fd2a64a55cbcc 100644 (file)
@@ -109,7 +109,7 @@ jobs:
         rm -f /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
         rm -f /etc/yum.repos.d/CentOS-SCLo-scl.repo
 
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         path: freeradius
 
@@ -157,7 +157,7 @@ jobs:
         mv freeradius/rpmbuild/RPMS/x86_64/*.rpm rpms
 
     - name: Restore eapol_test build directory from cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: hostapd-cache
       with:
         path: ${{ env.HOSTAPD_BUILD_DIR }}
@@ -173,7 +173,7 @@ jobs:
       working-directory: freeradius
 
     - name: Store RPMs
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: rpms-${{ matrix.env.NAME }}
         path: rpms
@@ -256,7 +256,7 @@ jobs:
         yum install -y procps-ng
 
     - name: Load RPMs
-      uses: actions/download-artifact@v2
+      uses: actions/download-artifact@v3
       with:
         name: rpms-${{ matrix.env.NAME }}
 
@@ -278,7 +278,7 @@ jobs:
         mv eapol_test /usr/local/bin
         chmod +x /usr/local/bin/eapol_test
 
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         path: freeradius
 
@@ -293,7 +293,7 @@ jobs:
 
     - name: Upload radius logs on failure
       if: ${{ failure() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: radius-logs-${{ matrix.env.NAME }}
         path: |
index 91ce6e7a9104fec8d07a0ccc2afebd070d88fcdb..5e3e38fdf0cd430906ca41f8eed0fba6e3bb2269 100644 (file)
@@ -87,7 +87,7 @@ jobs:
       run: |
         echo starttimestamp=`date +%s` >> $GITHUB_OUTPUT
 
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         lfs: false
 
@@ -153,7 +153,7 @@ jobs:
     #  last updated and because we will walk the tree until we find a commit
     #  that builds.
     #
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         lfs: false
         fetch-depth: 500
@@ -177,7 +177,7 @@ jobs:
         echo "corpusage=$CORPUSAGE" >> $GITHUB_OUTPUT
 
     - name: Restore the fuzzer corpus tar file from cache
-      uses: actions/cache@v2
+      uses: actions/cache@v3
       id: corpus-cache
       with:
         path: src/tests/fuzzer-corpus/${{ matrix.env.PROTOCOL }}.tar
@@ -262,7 +262,7 @@ jobs:
       if: ${{ !startsWith(github.ref, 'refs/heads/debug-fuzzer-') }}
 
     - name: "Clang libFuzzer: Store assets on failure"
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: clang-fuzzer-${{ matrix.env.PROTOCOL }}-${{ steps.pick_commit.outputs.commit_id }}
         path: build/fuzzer
index e8b6409e29df3299fdc27b490c2fb65c0257f9ae..08179ab436820c1afd0820efb86c8258c107b045 100644 (file)
@@ -144,7 +144,7 @@ jobs:
         run: apt-get update && apt-get install -y --no-install-recommends git git-lfs ca-certificates
 
       # Checkout, but defer pulling LFS objects until we've restored the cache
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           lfs: false
 
@@ -288,7 +288,7 @@ jobs:
     runs-on: ubuntu-latest
     name: "Merge into upstream"
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           fetch-depth: 0
           lfs: false
index d3d0c538e1da800204a0e6f6ba217aa93aaf666d..04314fe193a64bf8d3604c9e40baa48467e79b06 100644 (file)
@@ -13,7 +13,7 @@ jobs:
     if: github.repository_owner == 'FreeRADIUS' || github.ref == 'refs/heads/coverity_scan'
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Package manager performance improvements
         run: |
@@ -40,7 +40,7 @@ jobs:
           OWNER: ${{ github.repository_owner }}
 
       - name: Cache coverity tool
-        uses: actions/cache@v2
+        uses: actions/cache@v3
         id: cache-coverity
         with:
           path: coverity_tool.tar.gz
index e9a095440b2f7fb060cf46dfe45939bccd3d4302..d074717fdab5a15351e7955d24c8328371b23950 100644 (file)
@@ -28,7 +28,7 @@ jobs:
       fail-fast: true
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
     - name: Install common build dependencies
       run: |