From: Nick Porter Date: Fri, 21 Oct 2022 20:07:42 +0000 (+0100) Subject: Move to node16 version of github actions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=373bc371e2d7a97a45f9f799b54f1797a2223bcc;p=thirdparty%2Ffreeradius-server.git Move to node16 version of github actions --- diff --git a/.github/actions/build-freeradius/action.yml b/.github/actions/build-freeradius/action.yml index afd13921ef8..412a31aadbe 100644 --- a/.github/actions/build-freeradius/action.yml +++ b/.github/actions/build-freeradius/action.yml @@ -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 diff --git a/.github/actions/fuzzer/action.yml b/.github/actions/fuzzer/action.yml index 71c985f8880..127f5e2e2bd 100644 --- a/.github/actions/fuzzer/action.yml +++ b/.github/actions/fuzzer/action.yml @@ -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 diff --git a/.github/workflows/ci-deb.yml b/.github/workflows/ci-deb.yml index 9022b3d04d6..6d9740cbd0f 100644 --- a/.github/workflows/ci-deb.yml +++ b/.github/workflows/ci-deb.yml @@ -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: | diff --git a/.github/workflows/ci-freebsd.yml b/.github/workflows/ci-freebsd.yml index bd8f194f179..b439fe21605 100644 --- a/.github/workflows/ci-freebsd.yml +++ b/.github/workflows/ci-freebsd.yml @@ -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 }} diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index 990b16e7ed0..c71a1b9fdfa 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -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 diff --git a/.github/workflows/ci-rpm.yml b/.github/workflows/ci-rpm.yml index aea79204387..18158f06f0d 100644 --- a/.github/workflows/ci-rpm.yml +++ b/.github/workflows/ci-rpm.yml @@ -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: | diff --git a/.github/workflows/ci-scheduled-fuzzing.yml b/.github/workflows/ci-scheduled-fuzzing.yml index 91ce6e7a910..5e3e38fdf0c 100644 --- a/.github/workflows/ci-scheduled-fuzzing.yml +++ b/.github/workflows/ci-scheduled-fuzzing.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8b6409e29d..08179ab4368 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index d3d0c538e1d..04314fe193a 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -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 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e9a095440b2..d074717fdab 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -28,7 +28,7 @@ jobs: fail-fast: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install common build dependencies run: |