Skip to content

ci: Add CodeQL config #2

ci: Add CodeQL config

ci: Add CodeQL config #2

Workflow file for this run

name: Analyze
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
analyze:
name: CodeQL
strategy:
matrix:
include:
- language: csharp
build-mode: autobuild
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 9.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3