Skip to content

Setup sourcename for spectool #38

Setup sourcename for spectool

Setup sourcename for spectool #38

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 0 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
steps:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake gcc lcov asciidoctor
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: c-cpp
queries: security-and-quality
config-file: .codeql-config.yml
- name: Configure
run: |
cmake -B build -S . -Wdev -Wdeprecated \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
- name: Build
run: cmake --build build --parallel
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:c-cpp"