summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentelemetry-cpp/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/jaegertracing/opentelemetry-cpp/.github/workflows/codeql-analysis.yml
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/jaegertracing/opentelemetry-cpp/.github/workflows/codeql-analysis.yml')
-rw-r--r--src/jaegertracing/opentelemetry-cpp/.github/workflows/codeql-analysis.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/jaegertracing/opentelemetry-cpp/.github/workflows/codeql-analysis.yml b/src/jaegertracing/opentelemetry-cpp/.github/workflows/codeql-analysis.yml
new file mode 100644
index 000000000..000a0eb0d
--- /dev/null
+++ b/src/jaegertracing/opentelemetry-cpp/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,32 @@
+name: "CodeQL"
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ # The branches below must be a subset of the branches above
+ branches: [main]
+
+jobs:
+ CodeQL-Build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ with:
+ submodules: 'recursive'
+ - name: Remove Third_party Modules from Code Scan
+ run: |
+ rm -rf third_party
+ - name: Setup
+ run: |
+ sudo ./ci/setup_cmake.sh
+ sudo ./ci/setup_ci_environment.sh
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: cpp
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v2
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2