Skip to content

Update CodeQL workflow to use MSBuild (and also fix fix CS1579 and CS0023 errors)#1265

Merged
shananas merged 2 commits into
masterfrom
kenjiuno-patch-1
Jul 2, 2026
Merged

Update CodeQL workflow to use MSBuild (and also fix fix CS1579 and CS0023 errors)#1265
shananas merged 2 commits into
masterfrom
kenjiuno-patch-1

Conversation

@kenjiuno

@kenjiuno kenjiuno commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Commented out the Autobuild step and added instructions for using MSBuild instead.

Fix CodeQL Autobuild error:

Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

And also fix CS1579 and CS0023 errors:

         D:\a\OpenKh\OpenKh\OpenKh.Command.IdxImg\EpicGamesAssets.cs(141,46): error CS1579: foreach statement cannot operate on variables of type 'void' because 'void' does not contain a public instance or extension definition for 'GetEnumerator' [D:\a\OpenKh\OpenKh\OpenKh.Command.IdxImg\OpenKh.Command.IdxImg.csproj]

         D:\a\OpenKh\OpenKh\OpenKh.Tools.Kh2MsetMotionEditor\Usecases\SearchForKh2AssetFileUsecase.cs(77,37): error CS0023: Operator '.' cannot be applied to operand of type 'void' [D:\a\OpenKh\OpenKh\OpenKh.Tools.Kh2MsetMotionEditor\OpenKh.Tools.Kh2MsetMotionEditor.csproj]

Commented out the Autobuild step and added instructions for using MSBuild instead.

Fix CodeQL Autobuild error:

> Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Important

Review skipped

No new commits to review since the last review.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d294aa22-8b80-4ae1-8c28-a7fb6d4684a3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

> D:\a\OpenKh\OpenKh\OpenKh.Command.IdxImg\EpicGamesAssets.cs(141,46): error CS1579: foreach statement cannot operate on variables of type 'void' because 'void' does not contain a public instance or extension definition for 'GetEnumerator' [D:\a\OpenKh\OpenKh\OpenKh.Command.IdxImg\OpenKh.Command.IdxImg.csproj]

> D:\a\OpenKh\OpenKh\OpenKh.Tools.Kh2MsetMotionEditor\Usecases\SearchForKh2AssetFileUsecase.cs(77,37): error CS0023: Operator '.' cannot be applied to operand of type 'void' [D:\a\OpenKh\OpenKh\OpenKh.Tools.Kh2MsetMotionEditor\OpenKh.Tools.Kh2MsetMotionEditor.csproj]
@kenjiuno kenjiuno changed the title Update CodeQL workflow to use MSBuild Update CodeQL workflow to use MSBuild (and also fix fix CS1579 and CS0023 errors) Jul 2, 2026
@kenjiuno kenjiuno marked this pull request as ready for review July 2, 2026 11:50
@kenjiuno

kenjiuno commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kenjiuno

kenjiuno commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for merging!

@shananas shananas merged commit 304ddf7 into master Jul 2, 2026
4 checks passed
@shananas shananas deleted the kenjiuno-patch-1 branch July 2, 2026 14:12
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.

2 participants