Skip to content

CodeQL

CodeQL #47

Workflow file for this run

name: CodeQL
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "30 5 * * 1"
jobs:
analyze:
name: Analyze (csharp)
runs-on: ubuntu-latest
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
build-mode: manual
- name: Build
run: |
dotnet restore Codout.Framework.sln
dotnet build Codout.Framework.sln --no-restore --configuration Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:csharp"