Repository navigation
Build on the .NET 11 SDK and bootstrap the toolchain with mise - #46
Merged
Merged
Conversation
global.json pins SDK 11.0.100; mise.toml installs it (read from global.json) plus the net10.0 runtime the build, nupkg-validator and the API diff run on, and maps build, pack, ci, check and clean onto the build/scripts targets. The build gains pack and ci targets, and clean no longer cleans the running build project. CI keeps its AOT matrix, ghcr image and tag release, now set up through mise-action with every action pinned by SHA, no persisted checkout credentials, tokens passed through env, the canary push naming its source explicitly, read-only default permissions, main instead of master, and a zizmor job. AGENTS.md and CLAUDE.md document the tasks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
assembly-differ now builds on the .NET 11 SDK, and
mise run <task>becomes its single entry point. CI keeps its AOT matrix, container image and tag release, now set up through mise with every action pinned, and a zizmor job checks the workflows.Prompt summary: Bring every nullean repository onto one standard: .NET 11, mise for bootstrapping, the same
mise runtask names everywhere, and hardened CI. This applies step 1 of the rollout playbook, as proven on nullean/proc#34.Why
global.jsonpinned SDK 10.0.100 and each CI job installed10.0.xwithsetup-dotnet, so nothing gave a contributor the toolchain in one step. The workflows used unpinned actions, left checkout credentials on disk, interpolatedsecrets.GITHUB_TOKENand the NuGet login output straight intorun:scripts, and still triggered onmaster, which no longer exists.cleanrandotnet cleanon the whole solution, which includes the build project, so it could delete assemblies the running build still had to load.What
SDK 11 and mise
global.jsonpins 11.0.100.mise.tomlinstalls that SDK, read fromglobal.jsonso the version lives in one place, plus the net10.0 runtime the build project, nupkg-validator and the public API diff run on. Its tasksbuild,pack,ci,checkandcleancall thebuild/scriptstargets. There are no tests, sociispack: build, pack, validate, public API diff../build.shstays, because CI still calls it step by step.Build targets
The build adds
packandci.cleannow cleans the projects undersrc, leaving the running build project alone.Workflow hardening
The
aot-packandbuildjobs keep their shape and set up throughjdx/mise-actionwithout a cache, because this workflow publishes what it builds. Every action is pinned by SHA with its tag (docker/login-actionstays on v3, at v3.7.0). No checkout keeps credentials exceptcreate-major-tag, which pushes. Tokens and the NuGet key reachrun:steps throughenv, and so does the matrix RID. Thesetup-dotnetsource-urlthe canary push relied on becomes an explicit-s https://nuget.pkg.github.com/nullean/index.json. The workflow-level token drops tocontents: read; the build job already declared the write permissions it needs. Pushes tomaintrigger CI and publish the canary and theedgeimage, asmasterdid. Azizmorjob calls the shared workflow from nullean/.github atv1.3.0. Aworkflow_dispatchtrigger runs the full RID matrix on demand without publishing anything.Agent docs
AGENTS.mddescribes the layout, commands, packaging and rules.CLAUDE.mdpoints to it.Out of scope: CI's build job still skips
validatepackages, commented out since #37;mise run ciruns it and it passes, so turning it back on in CI is a separate change. Also the release-drafter release flow, CPM and package metadata, target frameworks (still net8.0 and net10.0), and curb formatting. Each follows in its own PR.Verify
Locally on macOS:
./build.sh build,generatepackages,validatepackagesandgenerateapichangesonmain(SDK 10.0.403) andmise run cion this branch (SDK 11.0.100) both produceassembly-differandassembly-differ.anywith identical file lists and nuspecs.zizmor --min-severity medium .reports no findings andactionlintis clean.🤖 Generated with Claude Code