Skip to content

feat: scan containers on host during daemon initialisation (#623) #274

feat: scan containers on host during daemon initialisation (#623)

feat: scan containers on host during daemon initialisation (#623) #274

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
env:
CARGO_TERM_COLOR: always # Ensures colored output in GitHub Actions logs
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Check out repository with submodules
uses: actions/checkout@v4.1.4
with:
submodules: recursive # This will fetch all submodules recursively
- name: Setup Rust toolchain
run: |
rustup toolchain install 1.89.0 --profile minimal
rustup component add clippy
rustup component add rustfmt
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y linux-headers-$(uname -r) libbpf-dev clang llvm libssl-dev pkg-config
- name: Run tests
run: |
cargo test --features test-bins