Skip to content

Run every documented check in CI - #290

Merged
soareschen merged 1 commit into
mainfrom
ci/documented-checks
Nov 8, 2026
Merged

soareschen merged 1 commit into
mainfrom
ci/documented-checks

Conversation

@soareschen

Copy link
Copy Markdown
Collaborator

Overview

[deepseek-v4.1-flash] CI now runs every check the README's Development section lists. Before this PR the workflow ran rustfmt, clippy, and nextest only, so a docs regression, a break on the declared Rust 1.89, or a no_std break reached main unnoticed.

Approach

Three jobs are new: doc builds the docs with RUSTDOCFLAGS="-D warnings", msrv checks the workspace on 1.89, and no_std checks cgp-no-std-tests for x86_64-unknown-none with and without --features alloc. The README lists their commands beside the existing ones, so a contributor can reproduce any job locally.

Two installs change. rustfmt runs on nightly-2026-11-05 instead of the floating nightly, because .rustfmt.toml sets unstable options and a floating channel can reformat the tree without a commit. nextest comes from crates.io at a pinned 0.9.151 through cargo install --locked, into its own root so the cache holds nothing else, replacing the tarball from a third-party host.

Impact

The no_std job installs x86_64-unknown-none itself, and every job sets a timeout. The workflow keeps permissions: contents: read and its concurrency group.

The stray libempty_match.rlib is removed, and .gitignore now covers *.rlib and *.rmeta as well as /target.

The workflow ran the format, clippy, and test commands but not the docs
build, the declared minimum Rust version, or the `no_std` build, so a
regression in any of them reached `main` unnoticed. It also installed
nextest from a third-party host and a floating nightly for rustfmt.

The new jobs run the commands the README now lists, nextest comes from
crates.io at a pinned version, and rustfmt runs on a pinned nightly. The
stray `libempty_match.rlib` is gone and `.gitignore` covers build artifacts.
@soareschen
soareschen marked this pull request as ready for review November 8, 2026 10:01
@soareschen
soareschen merged commit 5c3969b into main Nov 8, 2026
6 checks passed
@soareschen
soareschen deleted the ci/documented-checks branch November 8, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant