Skip to content

[pre-commit.ci] pre-commit autoupdate #992

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #992

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
pull_request:
schedule:
- cron: 0 0 * * 1
jobs:
CodeQL:
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
matrix:
language: [python, cpp]
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
submodules: recursive
- name: Initialize CodeQL
uses: github/codeql-action/[email protected]
with:
languages: ${{ matrix.language }}
setup-python-dependencies: false
- name: Set up CMake
if: matrix.language == 'cpp'
uses: lukka/[email protected]
- name: Build CMake
if: matrix.language == 'cpp'
working-directory: ${{ github.workspace }}/src/hades_extensions
run: cmake . --preset LinuxDebug && cmake --build build-debug
- name: Perform CodeQL analysis
uses: github/codeql-action/[email protected]
with:
category: /language:${{ matrix.language }}