- name: Update apt repository lists
run: apt-get update
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
path: freeradius
mv *.deb debs
- name: Restore eapol_test build directory from cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
id: hostapd-cache
with:
path: ${{ env.HOSTAPD_BUILD_DIR }}
working-directory: freeradius
- name: Store DEBs
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: debs-${{ matrix.env.NAME }}
path: debs
steps:
- name: Load DEBs
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: debs-${{ matrix.env.NAME }}
mv eapol_test /usr/local/bin
chmod +x /usr/local/bin/eapol_test
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
path: freeradius
- name: Upload radius logs on failure
if: ${{ failure() }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: radius-logs-${{ matrix.env.NAME }}
path: |
steps:
# Checkout, but defer pulling LFS objects until we've restored the cache
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
lfs: false
path: freeradius
working-directory: freeradius
- name: Restore LFS cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
id: lfs-cache
with:
path: .git/lfs
working-directory: freeradius
- name: Restore eapol_test build directory from cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
id: hostapd-cache
with:
path: ${{ env.HOSTAPD_BUILD_DIR }}
key: hostapd-freebsd-${{ env.HOSTAPD_GIT_TAG }}-v4
- name: Test using a FreeBSD VirtualBox VM
- uses: cross-platform-actions/action@v0.21.0
+ uses: cross-platform-actions/action@v0.22.0
with:
operating_system: freebsd
version: '13.2'
steps:
# Checkout, but defer pulling LFS objects until we've restored the cache
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
lfs: false
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: Restore LFS cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
id: lfs-cache
with:
path: .git/lfs
run: git lfs pull
- name: Restore eapol_test build directory from cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
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@v3
+ uses: actions/cache@v4
id: openssl-cache
with:
path: /opt/openssl/
make -j `nproc`
- name: "Clang Static Analyzer: Store assets on failure"
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: clang-scan.tgz
path: build/plist/**/*.html
run: |
yum install -y rpm-build openssl make gcc perl git-core
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
path: freeradius
mv freeradius/rpmbuild/RPMS/x86_64/*.rpm rpms
- name: Restore eapol_test build directory from cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
id: hostapd-cache
with:
path: ${{ env.HOSTAPD_BUILD_DIR }}
working-directory: freeradius
- name: Store RPMs
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: rpms-${{ matrix.env.NAME }}
path: rpms
yum install -y procps-ng
- name: Load RPMs
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: rpms-${{ matrix.env.NAME }}
mv eapol_test /usr/local/bin
chmod +x /usr/local/bin/eapol_test
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
path: freeradius
- name: Upload radius logs on failure
if: ${{ failure() }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: radius-logs-${{ matrix.env.NAME }}
path: |
steps:
# Checkout, but defer pulling LFS objects until we've restored the cache
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
lfs: false
run: |
echo starttimestamp=`date +%s` >> $GITHUB_OUTPUT
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
lfs: false
# last updated and because we will walk the tree until we find a commit
# that builds.
#
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
lfs: false
fetch-depth: 500
echo "corpusage=$CORPUSAGE" >> $GITHUB_OUTPUT
- name: Restore the fuzzer corpus tar file from cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
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@v3
+ uses: actions/upload-artifact@v4
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@v3
+ - uses: actions/checkout@v4
with:
lfs: false
runs-on: ubuntu-latest
name: "Merge into upstream"
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: false
if: github.repository_owner == 'FreeRADIUS' || github.ref == 'refs/heads/coverity_scan'
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Package manager performance improvements
run: |
OWNER: ${{ github.repository_owner }}
- name: Cache coverity tool
- uses: actions/cache@v3
+ uses: actions/cache@v4
id: cache-coverity
with:
path: coverity_tool.tar.gz
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
lfs: false
fail-fast: true
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
fetch-depth: 0
run: tar -czf site.tgz doc/doxygen/html build/docsite
- name: Store output
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: compiled-docs
path: site.tgz
steps:
- name: Retrieve output
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: compiled-docs
IdentityFile ~/.ssh/id_rsa-git
- name: Retrieve output
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: compiled-docs