| 1 | name: Pedantic check |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | jobs: |
| 5 | build: |
| 6 | runs-on: ubuntu-latest |
| 7 | steps: |
| 8 | - name: Checkout |
| 9 | uses: actions/checkout@v6 |
| 10 | - name: apt-get update |
| 11 | run: sudo apt-get update |
| 12 | - name: Install dependencies |
| 13 | run: sudo apt-get install -y libnet1-dev libpcap-dev automake autoconf check tcpdump openssh-server |
| 14 | - name: Pedantic check |
| 15 | run: ./extra/pedantic.sh |
| 16 | - name: Install optional dependencies |
| 17 | run: sudo apt-get install -y libcap-dev libseccomp-dev |
| 18 | - name: Pedantic check with optional dependencies |
| 19 | run: ./extra/pedantic.sh |