Skip to content

Merge pull request #4459 from mihalicyn/lxc_nixos_build_fix2 #8

Merge pull request #4459 from mihalicyn/lxc_nixos_build_fix2

Merge pull request #4459 from mihalicyn/lxc_nixos_build_fix2 #8

name: Static analysis
on:
- push
- pull_request
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -qq coccinelle
- name: Confirm coccinelle output is clean
run: |
./coccinelle/run-coccinelle.sh -i
git diff --exit-code
- name: Confirm apparmor profile is up to date
run: |
cd config/apparmor/
./lxc-generate-aa-rules.py container-rules.base > container-rules
cat abstractions/container-base.in container-rules > abstractions/container-base
git diff --exit-code