Skip to content

create_run_template: don't use txtuid and txtguid out of scope #62

create_run_template: don't use txtuid and txtguid out of scope

create_run_template: don't use txtuid and txtguid out of scope #62

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