Skip to content

Run workload-capturer as root to access IPC #15350

Run workload-capturer as root to access IPC

Run workload-capturer as root to access IPC #15350

Workflow file for this run

name: validation
on: [push, pull_request]
# Permission forced by repo-level setting; only elevate on job-level
permissions:
contents: read
# packages: read
env:
PROJECTNAME: "datadog-operator"
GO_VERSION: 1.24.6
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: ${{ env.GO_VERSION }}
id: go
- name: install required packages
uses: mstksg/get-package@4eda30bb5c6ac62c0f3921dd5884b6ef8fc89ab2 # v1.0.0
with:
apt-get: mercurial jq build-essential
- name: Check out code into the Go module directory
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: install tools
run: |
make install-tools
- name: run build
run: |
make manager
- name: run unit tests and E2E tests (fake cluster)
run: |
make test
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: cover.out,cover_integration.out
flags: unittests