Skip to content

Build C# explicitly for CodeQL - #11

Merged
hanshicn merged 1 commit into
mainfrom
fix/codeql-action-v3
Sep 8, 2026
Merged

hanshicn merged 1 commit into
mainfrom
fix/codeql-action-v3

Conversation

@hanshicn

@hanshicn hanshicn commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the C# CodeQL build after upgrading CodeQL Action to v3.

Changes

  • Run C# analysis on windows-latest
  • Configure CodeQL C# with build-mode: manual
  • Restore the legacy packages.config dependencies with NuGet
  • Build WebTableProcessing.sln with MSBuild
  • Run Python analysis on Ubuntu with build-mode: none

Context

The previous CodeQL run failed because autobuild could not discover the C# solution, which is located under:

Data/WebTable/WebTableProcessing/WebTableProcessing.sln

The project targets .NET Framework 4.7.2 and uses legacy packages.config, so an explicit Windows/NuGet/MSBuild build is required.

Validation

  • Workflow diagnostics pass
  • git diff --check passes
  • NuGet and MSBuild actions are pinned to verified commit SHAs
  • Solution path, package configuration, and Release|Any CPU configuration were verified

@hanshicn
hanshicn merged commit 0fa2619 into main Sep 8, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant