Skip to content

Bump submodules/googletest from e40661d to e47544a (#3888) #9761

Bump submodules/googletest from e40661d to e47544a (#3888)

Bump submodules/googletest from e40661d to e47544a (#3888) #9761

---
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@8ca2b8b2ece13480cda6dacd3511b49857a23c09
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
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-get update
sudo apt-get install -y liblttng-ust-dev libnuma-dev
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@cdcdbb579706841c47f7063dda365e292e5cad7a
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@cdcdbb579706841c47f7063dda365e292e5cad7a