tetragon: Limit max entries of cgroup_rate_map when it's not used #438
Workflow file for this run
This file contains 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: BPF Unit Tests | |
on: | |
pull_request: | |
paths: | |
- 'bpf/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'bpf/**' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-22.04, actuated-arm64-4cpu-8gb ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Install Go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
# renovate: datasource=golang-version depName=go | |
go-version: '1.22.4' | |
- name: Install LLVM | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install clang llvm | |
- name: Run BPF unit test | |
run: make bpf-test BPFGOTESTFLAGS="-v" |