Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CodeQL

on:
push:
branches: [dev, master]
pull_request:
branches: [dev]

jobs:
analyze:
runs-on: [ubuntu-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes CodeQL tools and creates a codebase for analysis.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ['c-cpp', 'actions']
Comment on lines +18 to +21

Check notice

Code scanning / CodeQL

Workflow Should Use Default Setup Note

CodeQL Action could use default setup instead of advanced configuration.

- name: Build C and C++ code
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
cmake --build build


Loading