Skip to content

CodeQL

CodeQL #1885

# This was generated by tool. Edits will be overwritten.
name: CodeQL
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '39 8 * * 1'
jobs:
analyze:
name: Analyse
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
matrix:
language:
- csharp
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- run: dotnet --info
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- run: ./build.ps1 build
shell: pwsh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2