Add CI workflow to build the solution on .NET 10 - #4
Merged
AntwerpDesignsIonity merged 1 commit intoJun 14, 2026
Merged
Conversation
The web/sandbox environment blocks all package egress (Ubuntu mirrors, the .NET install CDN and nuget.org all return host_not_allowed), so the project can't be compiled there. This GitHub Actions workflow restores and builds the whole solution on a windows-latest runner with the .NET 10 SDK, giving a real compile check on every push and PR.
Reviewer's Guide.github/workflows/build.yml adds a Windows-based GitHub Actions workflow that restores and builds the FANZI.slnx solution using the .NET 10 SDK on pushes, PRs, and manual dispatch. Flow diagram for new GitHub Actions .NET 10 CI build workflowflowchart LR
Trigger["push to Root-Main or claude/**\nPR to Root-Main\nworkflow_dispatch"] --> Job["Job build (Windows, .NET 10)"]
Job --> Checkout["Step Checkout\nactions/checkout@v4"]
Checkout --> SetupDotnet["Step Setup .NET 10\nactions/setup-dotnet@v4\n dotnet-version 10.0.x"]
SetupDotnet --> Restore["Step Restore\ndotnet restore FANZI.slnx"]
Restore --> Build["Step Build (Release)\ndotnet build FANZI.slnx --configuration Release --no-restore"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
AntwerpDesignsIonity
marked this pull request as ready for review
June 14, 2026 00:20
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider enabling NuGet package caching via
actions/setup-dotnet(e.g.cache: true) to speed up restores and reduce load on package feeds for frequent pushes. - For improved supply-chain security and reproducibility, pin
actions/checkoutandactions/setup-dotnetto specific commit SHAs instead of the floating@v4tag.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider enabling NuGet package caching via `actions/setup-dotnet` (e.g. `cache: true`) to speed up restores and reduce load on package feeds for frequent pushes.
- For improved supply-chain security and reproducibility, pin `actions/checkout` and `actions/setup-dotnet` to specific commit SHAs instead of the floating `@v4` tag.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a CI build so the code actually gets compiled
The Claude Code web/sandbox environment blocks all package egress — every Ubuntu mirror, the .NET install CDN, and
api.nuget.orgreturnhost_not_allowed, and there's no pre-installed SDK or NuGet cache. So PR #3 (OpenRGB auto-start + per-zone control) could not be compiled before merging.This workflow restores and builds the whole
FANZI.slnxsolution on awindows-latestrunner with the .NET 10 SDK, on every push toRoot-Main/claude/**and on PRs. It gives a real compile check going forward — and this PR's own run compiles the just-merged OpenRGB/per-zone code.If the build surfaces any errors in the merged changes, I'll push fixes.
https://claude.ai/code/session_01YGB3sD3FhoQawLLipwNkY7
Generated by Claude Code
Summary by Sourcery
CI: