Skip to content

CodeQL

CodeQL #442

name: CodeQL
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
branches: [main]
schedule:
- cron: '18 3 * * 2'
env:
# Path to the solution file relative to the root of the project.
configuration: Debug
platform: x64
solution_file: PapyrusPlugin.sln
jobs:
Analyze:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
show-progress: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build debuggable x64 plugin DLL
run: msbuild /m /p:Configuration=${{ env.configuration }} /p:Platform=${{ env.platform }} ${{ env.solution_file }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3