docs(runner): document ptrace state handoff for hybrid seccomp tracee #14
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: go-test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Run Go tests as non-root | |
| run: make test-unit | |
| sandbox-behavior-root: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run privileged sandbox behavior tests | |
| run: | | |
| docker run --rm --privileged \ | |
| -v "$PWD:/workspace" \ | |
| -w /workspace \ | |
| -e GOCACHE=/tmp/go-build \ | |
| -e GOPATH=/tmp/go \ | |
| -e GOMODCACHE=/tmp/go/pkg/mod \ | |
| golang:1.25 \ | |
| bash -c 'make test-sandbox-behavior-root' |