Skip to content

CodeQL

CodeQL #1190

name: "CodeQL"
on:
push:
branches: [ master, test ]
pull_request:
branches: [ master ]
schedule:
- cron: '31 6 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-extended
- name: Build
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3