Skip to content

CodeQL

CodeQL #243

name: "CodeQL"
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '30 15 * * 4'
env:
QT_VERSION: 6.6.3
QT_MODULES: qtmultimedia qtimageformats qtnetworkauth qtshadertools
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['cpp', 'javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Qt
if: matrix.language == 'cpp'
uses: jurplel/install-qt-action@v3
with:
cache: true
version: ${{ env.QT_VERSION }}
modules: ${{ env.QT_MODULES }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2