Skip to content

Bootstrap with mise and run CI through the shared nullean workflow - #34

Merged
Mpdreamz merged 2 commits into
mainfrom
feature/nullean-standard
Nov 11, 2026
Merged

Mpdreamz merged 2 commits into
mainfrom
feature/nullean-standard

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

mise run <task> becomes proc's single entry point, and CI runs through the shared workflows in nullean/.github on Linux and macOS. Releases still work exactly as before.

Prompt summary: Bring every nullean repository onto one standard: .NET 11, mise for bootstrapping, the same mise run task names everywhere, and shared CI. proc is the pilot that proves the template before it rolls out to the other repositories.

Why

proc's CI installed SDKs with hard-coded setup-dotnet versions, ran only on Ubuntu, and used unpinned actions. Building locally meant knowing the right ./build.sh subcommands and -s flags. Chaining targets locally (./build.sh release) also crashed: clean ran dotnet clean on the whole solution, which includes the build project, so it deleted assemblies the running build still had to load.

What

mise as the entry point

mise.toml installs the SDK global.json pins, read from that file so the version lives in one place, plus the net10.0 runtime the tests also target. The tasks build, test, pack, ci, check and clean replace build.sh and build.bat.

Shared CI

ci.yml calls dotnet-ci.yml (mise run ci on Linux and macOS) and zizmor.yml from nullean/.github, pinned to v1.0.0 by SHA. The canary push to GitHub Packages and the tag-triggered release are kept with their behaviour unchanged. They now use mise and SHA-pinned actions, and the release job never restores a cache.

Build targets

The build adds pack (pack, validate, API diff) and ci (test, then pack). clean now cleans the projects under src, tests and examples, leaving the running build project alone.

Agent docs

AGENTS.md describes the layout, commands and rules. CLAUDE.md points to it.

Out of scope: Windows, until #36 is fixed: the tests pass there, but the NativeAOT test binary is still locked when the next target framework republishes it. Also the move to a release-drafter flow (release on publishing a GitHub release), Central Package Management and package metadata, TUnit, and curb formatting. Each follows in its own PR.

Verify

mise install
mise run ci

🤖 Generated with Claude Code

`mise run <task>` is now the entry point (build, test, pack, ci, check, clean) and installs the
SDK global.json pins plus the net10.0 runtime the tests also run on. CI calls the reusable
dotnet-ci and zizmor workflows from nullean/.github; the canary push to GitHub Packages and
the tag release keep working as before, with actions pinned by SHA.

The build gains `pack` and `ci` targets, and `clean` no longer cleans the build project
itself, which deleted assemblies the running build still loads and failed any chained target
after it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Mpdreamz Mpdreamz added the ci Build and automation (patch) label Nov 11, 2026
Windows is left out until Proc.Tests.Binary can be republished while a test run still holds it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Mpdreamz
Mpdreamz merged commit 6af1f2f into main Nov 11, 2026
5 checks passed
Mpdreamz added a commit to nullean/scoped-filesystem that referenced this pull request Nov 11, 2026
`mise run <task>` becomes scoped-filesystem's single entry point, and CI
runs through the shared workflows in nullean/.github on Linux and macOS.
Releases still work exactly as before.

**Prompt summary:** Bring every nullean repository onto one standard:
.NET 11, mise for bootstrapping, the same `mise run` task names
everywhere, and shared CI. This applies step 1 of the rollout playbook,
as proven on nullean/proc#34.

## Why
CI installed SDKs with hard-coded `setup-dotnet` versions, ran only on
Ubuntu, and used unpinned actions with secrets interpolated straight
into scripts. Building locally meant knowing the right `./build.sh`
subcommands and `-s` flags. Chaining targets locally (`./build.sh
release`) could also crash: `clean` ran `dotnet clean` on the whole
solution, which includes the build project, so it deleted assemblies the
running build still had to load.

## What

#### mise as the entry point
`global.json` pins SDK `11.0.100`. `mise.toml` installs that SDK, read
from `global.json` so the version lives in one place, plus the net10.0
runtime the tests and the build project target. The tasks `build`,
`test`, `pack`, `ci`, `check` and `clean` replace `build.sh` and
`build.bat`.

#### Shared CI
`ci.yml` calls `dotnet-ci.yml` (`mise run ci` on Linux and macOS,
packages from `build/output`) and `zizmor.yml` from nullean/.github,
pinned to `v1.3.0` by SHA. The canary push to GitHub Packages and the
tag-triggered release keep their behaviour. They now use mise and
SHA-pinned actions, secrets reach scripts through `env:`, the workflow
starts from `permissions: {}`, and the release job never restores a
cache.

#### Build targets
The build adds `pack` (build, pack, validate, API diff) and `ci` (test,
then pack). `clean` now cleans the projects under `src` and `tests`,
leaving the running build project alone.

#### Agent docs
`AGENTS.md` describes the layout, commands and rules. `CLAUDE.md` points
to it.

**Out of scope:** Windows CI (it never ran there). Also the move to a
release-drafter flow, package metadata, TUnit, and curb formatting. Each
follows in its own PR.

## Verify
```bash
mise install
mise run ci
```

Locally on macOS: `./build.sh test` on `main` passed 114 of 114; `mise
run ci` on this branch (SDK 11.0.100) passes the same 114, then packs,
validates and diffs the package. `zizmor --min-severity medium .`
reports no findings and `actionlint` is clean.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Build and automation (patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant