Skip to content

CodeQL

CodeQL #65

Workflow file for this run

name: "CodeQL"
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "30 4 * * 1"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
container:
image: ubuntu:rolling
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [cpp]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: apt dependencies
run: |
apt-get --assume-yes update
apt-get --assume-yes install build-essential g++ meson libplplot-dev libgtkmm-4.0-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"