Add global internal param to get default datapath worker pool #12020
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: "CodeQL" | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- main | |
- release/* | |
schedule: | |
- cron: '0 17 * * 1' | |
permissions: read-all | |
jobs: | |
analyze: | |
permissions: | |
actions: read # for github/codeql-action/init to get workflow details | |
contents: read # for actions/checkout to fetch code | |
security-events: write # for github/codeql-action/analyze to upload SARIF results | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde | |
with: | |
egress-policy: audit | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
with: | |
fetch-depth: 2 | |
submodules: 'recursive' | |
# Install dependencies and build submodules before starting analysis. | |
- run: | | |
sudo apt-add-repository ppa:lttng/stable-2.13 | |
sudo apt-add-repository "deb http://mirrors.kernel.org/ubuntu noble main" -y | |
sudo apt-get update | |
sudo apt-get install -y liblttng-ust-dev libnuma-dev | |
sudo apt-get install -y libxdp-dev libbpf-dev libnl-3-dev libnl-genl-3-dev libnl-route-3-dev zlib1g-dev zlib1g pkg-config m4 clang libpcap-dev libelf-dev | |
sudo apt-get install -y --no-install-recommends libc6-dev-i386 | |
sudo sh scripts/install-powershell-docker.sh | |
mkdir build | |
cd build | |
cmake .. | |
cmake --build . --target OpenSSL_Target | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 | |
with: | |
languages: cpp | |
config-file: ./.github/codeql/codeql-config.yml | |
# Analyze this build. | |
- run: | | |
cd build | |
cmake --build . | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93 |