Skip to content

CodeQL

CodeQL #21

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
schedule:
- cron: '17 2 * * 3'
workflow_dispatch:
permissions:
contents: read
jobs:
analyze:
name: Analyze C#
runs-on: windows-latest
timeout-minutes: 240
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: csharp
- name: Build
run: dotnet msbuild build.proj
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:csharp