Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .forgejo/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions csemver.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Loading