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
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 }}
- 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/
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
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
- name: Update apt repository lists
run: apt-get update
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
path: freeradius
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 }}
working-directory: freeradius
- name: Store DEBs
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: debs-${{ matrix.env.NAME }}
path: debs
steps:
- name: Load DEBs
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: debs-${{ matrix.env.NAME }}
mv eapol_test /usr/local/bin
chmod +x /usr/local/bin/eapol_test
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
path: freeradius
- 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: |
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
working-directory: freeradius
- name: Restore LFS cache
- uses: actions/cache@v2
+ uses: actions/cache@v3
id: lfs-cache
with:
path: .git/lfs
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 }}
steps:
# Checkout, but defer pulling LFS objects until we've restored the cache
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
lfs: false
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
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 }}
- 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/
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
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
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 }}
working-directory: freeradius
- name: Store RPMs
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: rpms-${{ matrix.env.NAME }}
path: rpms
yum install -y procps-ng
- name: Load RPMs
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: rpms-${{ matrix.env.NAME }}
mv eapol_test /usr/local/bin
chmod +x /usr/local/bin/eapol_test
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
path: freeradius
- 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: |
run: |
echo starttimestamp=`date +%s` >> $GITHUB_OUTPUT
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
lfs: false
# 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
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
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
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
runs-on: ubuntu-latest
name: "Merge into upstream"
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: false
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: |
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
fail-fast: true
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install common build dependencies
run: |