Reformatted some comments/docstrings to be in a standardised format. #995
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |