From e50155fed7ad8798b9e71f6abdeab80c52e4e677 Mon Sep 17 00:00:00 2001 From: Vittorio Distefano Date: Sun, 1 Nov 2026 14:33:12 +0100 Subject: [PATCH 1/2] ci(forgejo): pass the pinned channel to rustup toolchain install The runner image's rustup 1.27.1 rejects a bare `rustup toolchain install`; reading the channel from rust-toolchain.toml requires rustup 1.28. Every Forgejo run since d132845a stopped at this step, before any check ran. Read the channel from rust-toolchain.toml and pass it explicitly. The file stays the single source of the channel and its components, which rustup installs when the toolchain is first used. Closes #164 --- .forgejo/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index cce6c5cf..ec9cb456 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -16,9 +16,15 @@ jobs: steps: - uses: actions/checkout@v4 - # rust-toolchain.toml names the toolchain and its components. + # rust-toolchain.toml names the toolchain and its components. The runner + # image's rustup (1.27) cannot read the channel from that file in + # `rustup toolchain install`, so pass it explicitly; rustup installs the + # file's components when the toolchain is first used. - name: Install Rust toolchain - run: rustup toolchain install + run: | + channel=$(sed -n 's/^channel = "\(.*\)"$/\1/p' rust-toolchain.toml) + rustup toolchain install "$channel" --profile minimal + rustup show active-toolchain # Runner environment overrides workflow-level CARGO_TARGET_DIR. Set it on # each Cargo process so trybuild's generated crate stays under this workspace From 2e7818536b7158e06ef3e9bc42e9c3d66219a7ab Mon Sep 17 00:00:00 2001 From: Vittorio Distefano Date: Sun, 1 Nov 2026 14:36:18 +0100 Subject: [PATCH 2/2] build(release): give refactor commits their own changelog section csemver's default commit types hide refactor, so the 0.24.0 changelog dropped 22 refactor commits and printed the 8 breaking ones as a list with no heading. Declare the types explicitly: feat, fix and refactor are visible; chore, docs, style, perf and test keep the default hidden state. Closes #166 --- csemver.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/csemver.toml b/csemver.toml index a7c657a6..4d684d3e 100644 --- a/csemver.toml +++ b/csemver.toml @@ -17,6 +17,21 @@ releaseCommitMessageFormat = "chore(release): {{currentTag}}" commitUrlFormat = "https://github.com/SolverForge/solverforge/commit/{{hash}}" compareUrlFormat = "https://github.com/SolverForge/solverforge/compare/{{previousTag}}...{{currentTag}}" +# Commit types and their changelog sections. Declaring the list replaces +# csemver's default, which hides refactor: refactor commits get their own +# section, and the remaining types keep the default hidden state. This must +# stay above the first table header, or TOML scopes it into that table. +types = [ + { type = "feat", section = "Features" }, + { type = "fix", section = "Bug Fixes" }, + { type = "refactor", section = "Code Refactoring" }, + { type = "chore", hidden = true }, + { type = "docs", hidden = true }, + { type = "style", hidden = true }, + { type = "perf", hidden = true }, + { type = "test", hidden = true }, +] + packageFiles = [ # Reads the workspace version (the single source of truth; every crate # manifest inherits it through version.workspace = true).