diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 969f301..6a88963 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -21,18 +21,18 @@ jobs: run: sudo make check # Since some of the tests require cap_net_admin # hence running the tests as sudo. - build-centos-7: + build-rocky-linux: timeout-minutes: 10 runs-on: ubuntu-latest - container: centos:7 + container: rockylinux/rockylinux:8 steps: - uses: actions/checkout@v2 - name: Install dependencies run: | - yum install -y make gcc-4.8.5 glib2-devel libmnl-devel libnetfilter_conntrack-devel check dbus + dnf --enablerepo=powertools install -y make gcc glib2-devel libmnl-devel libnetfilter_conntrack-devel check dbus - name: Build run: | make all # since github actions does not allow to set capability cap_net_admin - # to container, skipping tests on centos-7. + # to container, skipping tests.