feat: Add qualifiers
field to BPF enforcer custom rule interfaces
#207
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-go-unit-test | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "apis/**" | |
- "cmd/**" | |
- "config/**" | |
- "internal/**" | |
- "pkg/**" | |
- ".gitmodules" | |
- "manifests/**" | |
- "vArmor-ebpf/**" # check submodule content | |
permissions: read-all | |
jobs: | |
go-unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.24" | |
- name: Get dependencies | |
run: go mod tidy | |
- name: Set up llvm and apparmor | |
run: ./.github/scripts/toolchain.sh | |
- name: Run Tests | |
run: sudo go test -v ./... |