Skip to content

CodeQL

CodeQL #3

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '22 15 * * 1'
jobs:
analyze:
name: Analyze
runs-on: windows-latest
timeout-minutes: 30
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'c-cpp', 'javascript-typescript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup MSFS SDK
uses: koesie10/setup-msfs-sdk@v1
with:
url: ${{ secrets.MSFS_SDK_URL }}
- name: Install Yarn
run: yarn install
env:
CHILD_CONCURRENCY: 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"