Files
CommandForge/.github/workflows/codeql.yml
T
poli0981andClaude Opus 4.8 a2e44e1e3b deps: bump dependencies and GitHub Actions (consolidates Dependabot PRs)
Consolidates the eight open Dependabot PRs (#14-#21) into one change to
avoid the workflow-file conflicts they have with each other.

NuGet:
- Microsoft.Windows.CsWin32 0.3.296 -> 0.3.298
- Microsoft.NET.Test.Sdk 17.14.1 -> 18.6.0
- coverlet.collector 6.0.4 -> 10.0.1
- xunit.runner.visualstudio 3.1.4 -> 3.1.5

GitHub Actions:
- actions/checkout 4 -> 6
- actions/setup-dotnet 4 -> 5
- github/codeql-action 3 -> 4
- crazy-max/ghaction-virustotal 4 -> 5 (vt_api_key/files/update_release_body
  inputs verified unchanged in v5)

0-warning Release build; 105 tests pass; actionlint clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 20:06:44 +07:00

46 lines
1.0 KiB
YAML

name: CodeQL
# Project-specific CodeQL (not the shared reusable codeql-csharp.yml): this is a WPF
# (net10.0-windows) app that only builds on Windows and uses a .slnx solution, whereas the
# reusable workflow runs on ubuntu and looks for a .sln.
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '37 14 * * 1' # Mondays 14:37 UTC
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (csharp)
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
queries: security-extended
- name: Build
run: dotnet build CommandForge.slnx -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:csharp"